Subversion Repositories SmartDukaan

Rev

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

Rev 19618 Rev 19620
Line 170... Line 170...
170
<style>
170
<style>
171
.activate{
171
.activate{
172
	color:green;
172
	color:green;
173
}
173
}
174
#wrapper,#wrapper1 {
174
#wrapper,#wrapper1 {
175
/* 	position: absolute; */
-
 
176
	z-index: 1;
175
	z-index: 1;
177
/* 	top: 5px; */
-
 
178
	bottom: 48px;
176
	bottom: 48px;
179
	left: 0;
177
	left: 0;
180
/* 	width: 100%; */
-
 
181
/* 	height: 24px; */
-
 
182
	overflow: hidden;
178
	overflow: hidden;
183
}
179
}
184
#wrapper{
180
#wrapper{
185
/* 	top: 25px; */
-
 
186
	height:40px;
181
	max-height:40px;
187
	width: 97%;
182
	width: 97%;
188
	padding: 0px 5px
183
	padding: 0px 5px;
-
 
184
	min-height: 0px;
189
}
185
}
190
#wrapper1{
186
#wrapper1{
191
	height:30px;
187
	height:30px;
192
	width: 100%;
188
	width: 100%;
193
/* 	top: 2px; */
-
 
194
}
189
}
195
 
190
 
196
#scroller, #scroller1 {
191
#scroller, #scroller1 {
197
/* 	position: absolute; */
-
 
198
	z-index: 1;
192
	z-index: 1;
199
	-webkit-tap-highlight-color: rgba(0,0,0,0);
193
	-webkit-tap-highlight-color: rgba(0,0,0,0);
200
/* 	width: 500px; */
-
 
201
	
-
 
202
	
-
 
203
	-webkit-transform: translateZ(0);
194
	-webkit-transform: translateZ(0);
204
	-moz-transform: translateZ(0);
195
	-moz-transform: translateZ(0);
205
	-ms-transform: translateZ(0);
196
	-ms-transform: translateZ(0);
206
	-o-transform: translateZ(0);
197
	-o-transform: translateZ(0);
207
	transform: translateZ(0);
198
	transform: translateZ(0);
Line 226... Line 217...
226
}
217
}
227
 
218
 
228
#scroller li, #scroller1 li {
219
#scroller li, #scroller1 li {
229
	display: block;
220
	display: block;
230
	float: left;
221
	float: left;
231
/*   	height: 24px; 	 */
-
 
232
  	margin:2px;
222
  	margin:2px;
233
	color:white;
223
	color:white;
234
	border-right: 1px solid #ccc;
224
	border-right: 1px solid #ccc;
235
	background-color: #F2DEDE;
225
	background-color: #F2DEDE;
236
	font-size: 12px;
226
	font-size: 12px;
Line 480... Line 470...
480
							<ul>
470
							<ul>
481
							<?php $colorcount = 0;?>
471
							<?php $colorcount = 0;?>
482
							<?php foreach($allbrandsubcat['result'] as $bkey => $bvalue ):?>
472
							<?php foreach($allbrandsubcat['result'] as $bkey => $bvalue ):?>
483
								<?php if(!in_array($bvalue[$whatsecondid],$secondloop)):?>
473
								<?php if(!in_array($bvalue[$whatsecondid],$secondloop)):?>
484
								<?php $strarr = explode(" ", $bvalue[$whatsecond]);?>
474
								<?php $strarr = explode(" ", $bvalue[$whatsecond]);?>
485
									<li class="downselect quickclick" data-type="<?php if(isset($whatsecond)&&!empty($whatsecond)):?><?php echo $whatsecond;?><?php endif;?>" data-<?php echo $whatsecond."id";?>="<?php echo $bvalue[$whatsecondid];?>" style="background:<?php echo $color[$colorcount];?>; <?php if(strlen($bvalue[$whatsecond]) >9 && sizeof($strarr)>1):?> font-size: 10px;line-height: 12px;<?php elseif(strlen($bvalue[$whatsecond]) <=9 && sizeof($strarr)>1):?>line-height: 12px;<?php else:?>line-height: 24px;<?php endif;?>;">
475
									<li class="downselect quickclick" data-type="<?php if(isset($whatsecond)&&!empty($whatsecond)):?><?php echo $whatsecond;?><?php endif;?>" data-<?php echo $whatsecond."id";?>="<?php echo $bvalue[$whatsecondid];?>" style="background:<?php echo $color[$colorcount];?>; <?php if(strlen($bvalue[$whatsecond]) >9 && sizeof($strarr)>1):?> font-size: 10px;line-height: 12px;<?php elseif(strlen($bvalue[$whatsecond]) <=9 && sizeof($strarr)>1):?>line-height: 12px;<?php else:?>line-height: 24px;<?php endif;?>">
486
										
476
										
487
										<?php 
477
										<?php 
488
											echo $strarr[0]; 
478
											echo $strarr[0]; 
489
											if(sizeof($strarr) >1){
479
											if(sizeof($strarr) >1){
490
												echo "<br>";
480
												echo "<br>";
491
												for($abs = 1; $abs<= sizeof($strarr);$abs++)
481
												for($abs = 1; $abs< sizeof($strarr);$abs++)
492
												{
482
												{
493
													echo $strarr[$abs]." ";
483
													echo $strarr[$abs]." ";
494
												}	
484
												}	
495
											}									
485
											}									
496
											
486