CSS3+Jquery制作5款不同3D立体图片切换特效

2015/4/19 1:23:43 人评论 次浏览 分类:Jquery特效

用法简介

     文件引用

<script type="text/javascript" src="js/jquery.min.js"></script>

		<script type="text/javascript" src="js/flux.js"></script>
		
		<script type="text/javascript">
		
		$(function(){
			
		    if(!flux.browser.supportsTransitions)
		    
		        alert("Flux Slider requires a browser that supports CSS3 transitions");
		   
		   window.f = new flux.slider('#slider', {
		       
		       pagination: false,
		      
		       controls: false,
		      
		       transitions: ['explode', 'tiles3d', 'bars3d', 'cube', 'turn'],
		       
		       autoplay: false
		    });
		  
		  $('.transitions').click(function(event){
		     
		     event.preventDefault();
		      
		      window.f.next($(event.target).data('transition'), $(event.target).data('params'));
		    });
		});
</script>
特效演示地址:

http://www.sipeng.net/ParentPage/CSScontent/effectspage/css_3d_banner/index.html



附件下载

共有访客发表了评论 网友评论