Subversion Repositories SmartDukaan

Rev

Rev 19100 | Rev 19106 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
19038 naman 1
<style>
2
	.unseen {
19100 naman 3
/* 		background:#D9FACF; */
19103 naman 4
/* 		color:#54D199; */
19038 naman 5
	}
6
	.expired {
19100 naman 7
/* 		background:#f8f8f8; */
8
		color:#707070;
19038 naman 9
	}
10
	.text{
11
		font-weight : bold;
12
	}
13
	.expiredtext{
14
		font-size : 10px;
15
		color : red;
16
	}
19100 naman 17
	.notirow{
18
		background-color: white;
19
		margin: 5px 0 0 0;
20
		padding: 5px 5px 0 5px;
21
		position:relative;
22
		min-height: 30px;
23
	}
19038 naman 24
</style>
25
 
26
<script>
19100 naman 27
onload=function(){
28
	var e=document.getElementById("refreshed");
29
	if(e.value=="no")e.value="yes";
30
	else{e.value="no";location.reload();}
31
	}
19038 naman 32
	$(document).ready(function(){
33
			$('.notifi').click(function(){
34
				if($(this).hasClass('notifi')){
35
					$(this).removeClass('unseen');
36
				}
37
			});
19100 naman 38
 
39
			if($('.cscrollselector > .card').length>0) {
40
// 				debugger;
41
//                 if(typeof noscrolling == 'undefined') {
42
                    $('.cscrollselector').jscroll({
43
                        loadingHtml: '<center><img src="/img/ajax-loader.gif" alt="Loading" /></center>',
44
                        autoTriggerUntil: 3,
45
                        padding: 20
46
                    });
47
                }
48
//             }
49
 
19038 naman 50
		});
51
</script>
52
 
19100 naman 53
<input type="hidden" id="refreshed" value="no">
19038 naman 54
 
19100 naman 55
<div class = "container" style="margin-top: 5px;">
56
	<div class="row scroll cscrollselector" >
57
		<?php echo $this->element('getnotification');?>	
58
	</div>
59
</div>
60
 
61
<script type="text/javascript" src="/js/jquery.jscroll.min.js?v=<?php echo $staticversion;?>"></script>