Subversion Repositories SmartDukaan

Rev

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

Rev 18231 Rev 18234
Line 4... Line 4...
4
<script type="text/javascript" src="/js/jquery.viewport.mini.js"></script>
4
<script type="text/javascript" src="/js/jquery.viewport.mini.js"></script>
5
 
5
 
6
<script>
6
<script>
7
$(document).ready(function(){	
7
$(document).ready(function(){	
8
	$('.card').html(localStorage.getItem("productdetail"));
8
	$('.card').html(localStorage.getItem("productdetail"));
-
 
9
	$('.data-up:first').append('<a id="popovertrigger6"  data-container="body" data-toggle="popover" data-placement="left" data-content="Buy Now"></a>');
-
 
10
	showpopover("popovertrigger6", $('.row.card')[0]);
-
 
11
	$('.popover').css('position','fixed');
-
 
12
	setInterval(function(){try {
-
 
13
        $("#popovertrigger6").popover('toggle')       
-
 
14
    }catch(err){
-
 
15
        //
-
 
16
    }},1500);
9
	$('.see_more_link').remove();
17
	$('.see_more_link').remove();
10
	var topmargin = $(".card").height();
18
	var topmargin = $(".card").height();
11
	var value = " "+(topmargin+15)+"px 5px 5px 5px";
19
	var value = " "+(topmargin+15)+"px 5px 5px 5px";
12
	$('#detailcontent').css("margin",value);
20
	$('#detailcontent').css("margin",value);
13
	$('.popover').hide();
21
	//$('.popover').hide();
14
	$('.arrow').hide();
22
	//$('.arrow').hide();
15
	$('div').removeClass("accsproduct");
23
	$('div').removeClass("accsproduct");
16
	$('h5').removeClass("accsproduct");
24
	$('h5').removeClass("accsproduct");
17
	
25
	
18
	 $('.uvideo').click(function(){
26
	 $('.uvideo').click(function(){
19
	 window.history.pushState('forward', null, './forward');
27
	 window.history.pushState('forward', null, './forward');
Line 36... Line 44...
36
      		 $('.text-center').empty();
44
      		 $('.text-center').empty();
37
        });
45
        });
38
 
46
 
39
      }
47
      }
40
    
48
    
41
     $('#videoModal').click(function(){
49
    $('#videoModal').click(function(){
42
     
-
 
43
                        
-
 
44
     
-
 
45
      $('#content-add').empty();
50
    	$('#content-add').empty();
46
      // $('.text-center').append('<img src="/img/ajax-loader.gif"/>');
-
 
47
    });
51
    });
48
    
52
    
49
    $('.close').click(function(){
53
    $('.close').click(function(){
50
      $('#videoModal').modal('hide');
54
      $('#videoModal').modal('hide');
51
      $('.text-center').empty();
55
      $('.text-center').empty();