97 384 129

特效描述:jQuery 切片过渡动画 幻灯片切换代码,jQuery切片过渡动画幻灯片切换代码


1. 引入CSS

<link rel="stylesheet" href="css/style.css" type="text/css">

2. 引入JS

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

3. HTML代码

<div id="ImageSlider">
	<div id="gellery">
		<div><img  src="img/harrypotter.jpg"><p>Harry Potter is a series of seven fantasy novels written by the British author J. K. Rowling. The books chronicle the adventures of the adolescent wizard Harry Potter and his best friends Ron Weasley and Hermione Granger, all of whom are students at Hogwarts School of Witchcraft and Wizardry. The main story arc concerns Harry's quest to overcome the evil dark wizard Lord Voldemort, whose aim is to conquer the wizarding world and subjugate non-magical people, and who seeks to destroy all those who stand in his way, especially Harry himself.</p></div>
		<div><img src="img/inception.jpg"><p>Inception is a 2010 science fiction action film written, co-produced, and directed by Christopher Nolan. The film features an ensemble cast starring Leonardo DiCaprio, Ken Watanabe, Joseph Gordon-Levitt, Marion Cotillard, Ellen Page, Tom Hardy, Cillian Murphy, Dileep Rao, Tom Berenger, and Michael Caine. DiCaprio plays Dom Cobb, a specialized corporate spy and thief. His work consists of secretly extracting valuable commercial information from the unconscious minds of his targets while they are asleep and dreaming.</p></div>
		<div><img src="img/transformer.jpg"><p>Transformers is a 2007 American science fiction action film based on the Transformers toy line. The film, which combines computer animation with live-action, is directed by Michael Bay, with Steven Spielberg serving as executive producer. It stars Shia LaBeouf as Sam Witwicky, a teenager involved in a war between the heroic Autobots and the evil Decepticons, two factions of alien robots who can disguise themselves by transforming into everyday machinery. </p></div>	
<script type="text/javascript">
			__Effects:new Array('Optimus','Ironhide','Scorponok','Megatron','Starscream','Jazz'),	

大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册

热门标签: 图片拖动 图片拖拽 图片放大镜 图片叠加 图片层叠 图片翻转 图片旋转 图片延迟加载 图片延迟 图片加载 图片淡出淡进 图片淡出 图片淡进 图片全屏 头像上传 图片上传 二维码 滚动切换 滚动条切换 滑动选项卡 滑动切换 图片广告 图片放大缩小 图片缩放 图片大小 图片放大 图片缩小 图片变大 图片变小 加载动画 h5图片动画 h5图标动画 html5图片动画 html5图标动画 带缩略图的幻灯片 地图 中国地图 世界地图 flash焦点图 flash幻灯片 flashbanner flash图片轮播 图片滚动 图片滚动条 图片滑动 图片滑块 图片切换 图片选项卡 图标选项卡 图片收缩展开 图片收缩 图片展开 旋转木马 图片旋转木马 文字旋转木马 旋转木马插件 纯图片轮播 图片轮播 自动滚动图片轮播 图标导航 图标菜单 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 滑动手风琴 背景切换 大图切换 手风琴 水平手风琴 垂直手风琴 图片手风琴 文字手风琴 手风琴插件 h5弹窗动画 html5弹窗动画 h5动画 h5背景动画 h5场景动画 h53D动画 h5界面动画 html5动画 图表 焦点图 幻灯片 轮播图 bar焦点图 图片 图片插件 头像截图 h5按钮动画 html5按钮动画 h5图片动画 h5图标动画 html5图片动画 html5图标动画 带简介的焦点图 图片切换 图片选项卡 图标选项卡 纯图片轮播 图片轮播 图片切换 切换图片