Subversion Repositories SmartDukaan

Rev

Rev 20006 | Rev 20328 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20006 Rev 20008
Line 2... Line 2...
2
<script type="text/javascript" src="<?php echo $base_url;?>js/iscroll.js"></script>
2
<script type="text/javascript" src="<?php echo $base_url;?>js/iscroll.js"></script>
3
<script type="text/javascript" src="<?php echo $base_url;?>js/deals.js?v=<?php echo $staticversion;?>"></script>
3
<script type="text/javascript" src="<?php echo $base_url;?>js/deals.js?v=<?php echo $staticversion;?>"></script>
4
<script type="text/javascript">
4
<script type="text/javascript">
5
function loaded () {
5
function loaded () {
6
	myScroll = new IScroll('#wrapper', { scrollX: true, scrollY: false, mouseWheel: true, click: true, tap: true });
6
	myScroll = new IScroll('#wrapper', { scrollX: true, scrollY: false, mouseWheel: true, click: true, tap: true });
-
 
7
	<?php if($id == 3):?>
7
	myScroll3 = new IScroll('#wrapper3', { scrollX: true, scrollY: false, mouseWheel: true, click: true, tap: true });
8
		myScroll3 = new IScroll('#wrapper3', { scrollX: true, scrollY: false, mouseWheel: true, click: true, tap: true });
-
 
9
	<?php endif;?>
8
	myScroll1 = new IScroll('#wrapper1', { scrollX: true, scrollY: false, mouseWheel: true, click: true, tap: true });
10
	myScroll1 = new IScroll('#wrapper1', { scrollX: true, scrollY: false, mouseWheel: true, click: true, tap: true });
9
}</script>
11
}</script>
10
 
12
 
11
 
13
 
12
<script>
14
<script>
Line 61... Line 63...
61
 
63
 
62
#wrapper3{
64
#wrapper3{
63
	z-index: 1;
65
	z-index: 1;
64
	left: 0;
66
	left: 0;
65
	overflow: hidden;
67
	overflow: hidden;
66
	height:25px;
68
 	height:20px; 
67
	width: 100%;
69
	width: 100%;
68
}
70
}
69
 
71
 
70
#scroller, #scroller1,  #scroller3{
72
#scroller, #scroller1,  #scroller3{
71
	z-index: 1;
73
	z-index: 1;
Line 134... Line 136...
134
    color: white;
136
    color: white;
135
	border-radius: 4px;
137
	border-radius: 4px;
136
	
138
	
137
}
139
}
138
</style>
140
</style>
139
<?php if(!isset($dealpin) || empty($dealpin)):?>
-
 
140
	<script>
-
 
141
		$(document).ready(function(){
-
 
142
			$('#pinModal').modal('show');
-
 
143
		});
-
 
144
	</script>
-
 
145
<?php endif;?>
-
 
146
 
141
 
147
<?php
142
<?php
148
	if(isset($subcategories)){
143
	if(isset($subcategories)){
149
		$catstr = explode("^",$subcategories);
144
		$catstr = explode("^",$subcategories);
150
	}
145
	}