wp/wp-content/themes/IN-MOTION-package-u1/in-motion/js/scriptPortfolio.js
changeset 0 d970ebf37754
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wp/wp-content/themes/IN-MOTION-package-u1/in-motion/js/scriptPortfolio.js	Wed Nov 06 03:21:17 2013 +0000
@@ -0,0 +1,39 @@
+/* start for slider */
+jQuery(function(){
+
+	/* for hover effekt on images */
+	jQuery('.lightbox-image').prepend('<span></span>').hover(function(){jQuery(this).find('img').stop().animate({opacity:.5})},function(){jQuery(this).find('img').stop().animate({opacity:1})})
+	
+	/* for list */ 
+	jQuery('.list-1 li a').prepend('<span><span></span></span>')
+
+	/* for slider */
+	jQuery('#slides1').slides({
+		effect: 'fade',
+		fadeSpeed:1000,
+		preload: true,
+		play: 6000,
+		pause: 6000,
+		generateNextPrev: true,
+		generatePagination: false,
+		crossfade: true,
+		hoverPause: true,
+		animationStart: function(current){
+			jQuery('.caption').animate({opacity:0}).css({display:'none'});
+				if (window.console && console.log) {
+					console.log('animationStart on slide: ', current);
+				};
+			},
+			animationComplete: function(current){
+				jQuery('.caption').animate({opacity:1}).css({display:'block'});
+					if (window.console && console.log) {
+						console.log('animationComplete on slide: ', current);
+					};
+				},
+			slidesLoaded: function() {
+				jQuery('.caption').animate({opacity:1}).css({display:'block'});
+		}
+	});
+	
+	
+});
\ No newline at end of file