Subversion Repositories SmartDukaan

Rev

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

Rev 18737 Rev 18741
Line 15... Line 15...
15
  			$(this).find('.glyphicon').addClass('glyphicon-chevron-down');
15
  			$(this).find('.glyphicon').addClass('glyphicon-chevron-down');
16
  		}
16
  		}
17
  	});
17
  	});
18
  $(document).ready(function(){
18
  $(document).ready(function(){
19
  
19
  
20
 
-
 
21
  var tot_count = 0;
-
 
22
  var bsid = setInterval(frame, 1000);
-
 
23
  function frame() {
-
 
24
    if (tot_count == 3) {
-
 
25
      clearInterval(bsid);
-
 
26
    } else {
-
 
27
      tot_count++; 
-
 
28
      setTimeout(function(){
-
 
29
	    $('.brandlink').css({'background-color':'#58d936','color':'white'});
-
 
30
	    setTimeout(function(){$('.brandlink').css({'background-color':'','color':'#A8A5A5'})}, 1500);
-
 
31
	    setTimeout(function(){
-
 
32
	    $('.subcatlink').css({'background-color':'#58d936','color':'white'});
-
 
33
	    setTimeout(function(){$('.subcatlink').css({'background-color':'','color':'#A8A5A5'})}, 1500);
-
 
34
	},1000);
-
 
35
	},1000);
-
 
36
	  clearInterval(bsid);
-
 
37
	  bsid = setInterval(frame, 5000);
-
 
38
    }
-
 
39
  }
-
 
40
	
-
 
41
 
-
 
42
  
-
 
43
    $('.uvideo').click(function(){
20
    $('.uvideo').click(function(){
44
    window.history.pushState('forward', null, './forward');
21
    window.history.pushState('forward', null, './forward');
45
      var source= $(this).data('source');
22
      var source= $(this).data('source');
46
      // alert(source);
23
      // alert(source);
47
      $('#content-add').empty();
24
      $('#content-add').empty();
Line 495... Line 472...
495
                <div class='see_more_link' style='position:absolute; bottom: 0px;'>More
472
                <div class='see_more_link' style='position:absolute; bottom: 0px;'>More
496
                  <?php if(count($dealarray) >1):?>
473
                  <?php if(count($dealarray) >1):?>
497
                  	<?php if($key == 1):?>
474
                  	<?php if($key == 1):?>
498
                  		<?php if(isset($deal['filterLinkBrand']) && !empty($deal['filterLinkBrand'])):?>
475
                  		<?php if(isset($deal['filterLinkBrand']) && !empty($deal['filterLinkBrand'])):?>
499
                  		<?php $printcomma = 1;?>
476
                  		<?php $printcomma = 1;?>
500
                  			<a href = <?php echo $deal['filterLinkBrand'];?> class = "brandlink" style='color:#A8A5A5;'><u><?php echo $deal['filterTextBrand'];?></u></a>
477
                  			<a href = <?php echo $deal['filterLinkBrand'];?> style='color:#A8A5A5;'><u><?php echo $deal['filterTextBrand'];?></u></a>
501
                 		<?php endif;?>
478
                 		<?php endif;?>
502
                 		<?php if(isset($deal['filterLinkSubCategory']) && !empty($deal['filterLinkSubCategory'])):?>
479
                 		<?php if(isset($deal['filterLinkSubCategory']) && !empty($deal['filterLinkSubCategory'])):?>
503
                  			<?php if($printcomma == 1)
480
                  			<?php if($printcomma == 1)
504
                  				echo ",";
481
                  				echo ",";
505
                  			?>
482
                  			?>
506
                  			<a href = <?php echo $deal['filterLinkSubCategory'];?> class = "subcatlink" style='color:#A8A5A5;'><u><?php echo $deal['filterTextSubCategory'];?></u></a>
483
                  			<a href = <?php echo $deal['filterLinkSubCategory'];?> style='color:#A8A5A5;'><u><?php echo $deal['filterTextSubCategory'];?></u></a>
507
                 		<?php endif;?>
484
                 		<?php endif;?>
508
                  	<?php endif;?>
485
                  	<?php endif;?>
509
                  <?php else:?>
486
                  <?php else:?>
510
                 	 <?php if(isset($deal['filterLinkBrand']) && !empty($deal['filterLinkBrand'])):?>
487
                 	 <?php if(isset($deal['filterLinkBrand']) && !empty($deal['filterLinkBrand'])):?>
511
                  			<?php $printcomma = 1;?>
488
                  			<?php $printcomma = 1;?>
512
                  			<a href = <?php echo $deal['filterLinkBrand'];?> class = "brandlink" style='color:#A8A5A5;'><u><?php echo $deal['filterTextBrand'];?></u></a>
489
                  			<a href = <?php echo $deal['filterLinkBrand'];?>  style='color:#A8A5A5;'><u><?php echo $deal['filterTextBrand'];?></u></a>
513
                 		<?php endif;?>
490
                 		<?php endif;?>
514
                 	<?php if(isset($deal['filterLinkSubCategory']) && !empty($deal['filterLinkSubCategory'])):?>
491
                 	<?php if(isset($deal['filterLinkSubCategory']) && !empty($deal['filterLinkSubCategory'])):?>
515
                  			<?php if($printcomma == 1)
492
                  			<?php if($printcomma == 1)
516
                  				echo ",";
493
                  				echo ",";
517
                  			?>
494
                  			?>
518
                  			<a href = <?php echo $deal['filterLinkSubCategory'];?> class = "subcatlink" style='color:#A8A5A5;'><u><?php echo $deal['filterTextSubCategory'];?></u></a>
495
                  			<a href = <?php echo $deal['filterLinkSubCategory'];?> style='color:#A8A5A5;'><u><?php echo $deal['filterTextSubCategory'];?></u></a>
519
                 		<?php endif;?>
496
                 		<?php endif;?>
520
                  <?php endif;?>
497
                  <?php endif;?>
521
                </div> 
498
                </div> 
522
 
499
 
523
        	<?php endif;?>
500
        	<?php endif;?>