wp/wp-content/themes/IN-MOTION-package-u1/in-motion/js/script1.js
author ymh <ymh.work@gmail.com>
Fri, 05 Sep 2025 18:40:08 +0200
changeset 21 48c4eec2b7e6
parent 0 d970ebf37754
permissions -rwxr-xr-x
Add CLAUDE.md documentation and sync WordPress core files - Add comprehensive CLAUDE.md documentation file with project architecture, development setup, database operations, WordPress CLI usage, file sync procedures, and Mercurial commands - Update WordPress core files from wordpress/ to wp/ directory - Sync latest WordPress admin interface, includes, and core functionality - Update plugins: portfolio plugin with latest BWS framework and fancybox integration - Maintain custom configuration and theme files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>



/* start for slider */
$(function(){

	/* for hover effekt on images */
	$('.lightbox-image').prepend('<span></span>').hover(function(){$(this).find('img').stop().animate({opacity:.5})},function(){$(this).find('img').stop().animate({opacity:1})})

	/* for list */ 
	$('.list-1 li a').prepend('<span><span></span></span>')

	/* for slider */
	$('#slides1').slides({
		effect: 'fade',
		fadeSpeed:2000,
		preload: true,
		play: 4000,
		pause: 4000,
		generateNextPrev: true,
		generatePagination: false,
		crossfade: true,
		hoverPause: true,
		animationStart: function(current){
			$('.caption').animate({opacity:0}).css({display:'none'});
				if (window.console && console.log) {
					console.log('animationStart on slide: ', current);
				};
			},
			animationComplete: function(current){
				$('.caption').animate({opacity:1}).css({display:'block'});
					if (window.console && console.log) {
						console.log('animationComplete on slide: ', current);
					};
				},
			slidesLoaded: function() {
				$('.caption').animate({opacity:1}).css({display:'block'});
		}
	});
	
	
});
/* end for slider */