Subversion Repositories SmartDukaan

Rev

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

Rev 18683 Rev 19011
Line 52... Line 52...
52
	//$('.arrow').hide();
52
	//$('.arrow').hide();
53
	$('div').removeClass("accsproduct");
53
	$('div').removeClass("accsproduct");
54
	$('h5').removeClass("accsproduct");
54
	$('h5').removeClass("accsproduct");
55
	
55
	
56
	 $('.uvideo').click(function(){
56
	 $('.uvideo').click(function(){
-
 
57
	  var href = window.location.href;
57
	 window.history.pushState('forward', null, './forward');
58
	 window.history.pushState('forward', null, './'+href.substr(href.lastIndexOf('/') + 1));
58
      var source= $(this).data('source');
59
      var source= $(this).data('source');
59
      // alert(source);
60
      // alert(source);
60
      $('#content-add').empty();
61
      $('#content-add').empty();
61
      var content = "<iframe width='100%' height='100%' src='http://www.youtube.com/embed/"+source+"?autoplay=1'></iframe>"
62
      var content = "<iframe width='100%' height='100%' src='http://www.youtube.com/embed/"+source+"?autoplay=1'></iframe>"
62
      value = " "+(topmargin+10)+"px 5px 5px 5px";
63
      value = " "+(topmargin+10)+"px 5px 5px 5px";
Line 73... Line 74...
73
             $('#videoModal').modal('hide');
74
             $('#videoModal').modal('hide');
74
      		 $('.text-center').empty();
75
      		 $('.text-center').empty();
75
        });
76
        });
76
 
77
 
77
      }
78
      }
78
    
79
        
79
    $('#videoModal').click(function(){
80
    $('#videoModal').click(function(){
80
    	$('#content-add').empty();
81
    	$('#content-add').empty();
-
 
82
    	window.history.back();
81
    });
83
    });
82
    
84
    
83
    $('.close').click(function(){
85
    $('.close').click(function(){
84
      $('#videoModal').modal('hide');
86
      $('#videoModal').modal('hide');
85
      $('.text-center').empty();
87
      $('.text-center').empty();