Subversion Repositories SmartDukaan

Rev

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

Rev 7695 Rev 7768
Line 1... Line 1...
1
$(function(){
1
$(function(){
-
 
2
	
-
 
3
	jQuery('.mk_videoclick').click(function(){
-
 
4
		var clicked = jQuery(this);
-
 
5
	    var scrollTo = jQuery("#recommendedvids");
-
 
6
	    if(currentVideoId!=currentVideoIds[clicked.attr("slidecounter")]){
-
 
7
	    	scrollTo.find('li[ytid=' + currentVideoIds[clicked.attr("slidecounter")] + ']').click();
-
 
8
	    }
-
 
9
		//trackEventWithGA('Product', 'VideoTabClicked',  $('title').text().split('|')[0].trim()  + "|" + clicked.attr("slidename"));
-
 
10
  		jQuery('html, body').animate({ scrollTop: scrollTo.offset().top }, 'medium');
-
 
11
    	return false;
-
 
12
	});
-
 
13
	
-
 
14
	
2
	$('#loopedSlider').loopedSlider();
15
	$('#loopedSlider').loopedSlider();
3
	
16
	
4
	runEffect();
17
	runEffect();
5
	
18
	
6
	$(".controls").tabs();
19
	$(".controls").tabs();