利用jQuery实现播放器效果图片切换代码



53 211 71



特效描述:利用jQuery实现 播放器效果 图片切换代码,利用jQuery实现播放器效果图片切换代码

代码结构

1. 引入CSS

<link href="img/site/Site.css" rel="stylesheet" type="text/css" />
<link href="css/slider.css" rel="stylesheet" type="text/css" />
<link href="css/js-image-slider.css" rel="stylesheet" type="text/css" />

2. 引入JS

<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="js/js-image-slider.js" type="text/javascript"></script>
<script src="js/thumbnail-slider.js" type="text/javascript"></script>

3. HTML代码

	<div id="main">
		<div id="dm"></div>
<div id="dm1">
	<div id="dm1Inner"> 
		<div class="floatLeft">
			<div id="sliderFrame">
				<div id="slider">
					<img src="images/slider-1.jpg" alt="#slideshow-1" title="Welcome to Menucool jQuery Slideshow" />
					<img src="images/slider-2.jpg" alt="#slideshow-2" />
					<a href="http://51qianduan.com"><img src="images/slider-3.jpg" alt="#slideshow-3" /></a>
					<img src="images/slider-4.jpg" alt="#slideshow-4" />
					<img src="images/slider-5.jpg" alt="#slideshow-5" />
					<img src="images/slider-6.jpg" alt="#slideshow-6" />
					<img src="images/slider-7.jpg" alt="#slideshow-7" />
					<img src="images/slider-8.jpg" alt="#slideshow-8" />
					<img src="images/slider-9.jpg" alt="#slideshow-9" />
					<img src="images/slider-10.jpg"  alt="#slideshow-10"/>
					<img src="images/slider-11.jpg"  alt="#slideshow-11"/>
					<img src="images/slider-12.jpg"  alt="#slideshow-12"/>
				</div>
			</div>
		</div>
		<div class="floatLeft">    
			<div id="mcts1">
				<img src="images/slideshow-1s.jpg" />
				<img src="images/slideshow-2s.jpg" />
				<img src="images/slideshow-3s.jpg" />
				<img src="images/slideshow-4s.jpg" />
				<img src="images/slideshow-5s.jpg" />
				<img src="images/slideshow-6s.jpg" />
				<img src="images/slideshow-7s.jpg" />
				<img src="images/slideshow-8s.jpg" />
				<img src="images/slideshow-9s.jpg" />
				<img src="images/slideshow-10s.jpg" />
				<img src="images/slideshow-11s.jpg" />
				<img src="images/slideshow-12s.jpg" />
			</div>
		</div>
		<div style="clear:both;"></div>            
		<div style="display:none;">
			<div id="slideshow-1">
				<h3>Welcome to Menucool jQuery Slideshow</h3>
				This demo shows how the jQuery slideshow (or Thumbnail Slider if using the pure JavaScript) can work together with the JavaScript Image Slider.
			</div>
			<div id="slideshow-2">
				<h3>Enhanced Slideshow Effect</h3>
				The jQuery Slideshow/thumbnail slider works nicely together with the JavaScript Image Slider which greatly enhanced the slideshow with an added aesthetic appeal.
			</div>
			<div id="slideshow-3">
				<h3>SEO Friendly</h3>                    
				The markup is valid HTML5 and SEO optimzied, with all content always being available to search engines. 
			</div>
			<div id="slideshow-4">
				<h3>A Tool for Web Designer</h3>
				Its goal is to simplify the process of creating professional image/content slideshow for the web and mobile devices. This jQuery Slideshow will entertain your audience while scrolling what feature your website has.
			</div>
			<div id="slideshow-5">
				<h3>JavaScript Image Slider is driven by the jQuery/Thumbnail Slideshow</h3>                    
				Each slide of the JavaScript Image Slider is triggered by the thumbnail scrolling.
			</div>
			<div id="slideshow-6">
				<h3>Rich HTML</h3>                    
				Rich HTML content can be added to the thumbnails, or to the description of each JavaScript Image Slider slide. 
			</div>
			<div id="slideshow-7">
				<h3>Fully Customizable</h3>                    
				The jQuery Slideshow, or Thumbnail Slider if using the pure JavaScript, can be horizontal or vertical, and its styles and behaviors are fully customizable by tweaking the CSS and the JavaScipt. 
			</div>
			<div id="slideshow-8">
				<h3>Varying Width, or Varying Height</h3>                    
				The varying size (either varying width for the horizontal jQuery slideshow, or varying height for the vertical slider) is allowed for the thumbnails. 
			</div>
			<div id="slideshow-9">
				<h3>A Great Way to Showcase Your Products</h3>                    
				 It is a perfect way to showcase your products. This script allows you to easily animate any series of elements, by sequentially scrolling them.
			</div>
			<div id="slideshow-11">
				<h3>Wide Browsers and Devices Support</h3>                    
				The carousel is completely configurable and compatible with all major browsers (including ie6+, Firefox Chrome, Opera, Safari) and mobile platforms like iphone / ipad. 
			</div>
			<div id="slideshow-12">
				<h3>A Great Carousel</h3>  
				Use this stunning carousel to entertain your readers while scrolling what feature your website has. It has a very smooth user interface that gives your slider an added aesthetic appeal. 
			</div>
			<div id="slideshow-10">
				<h3>Easy to Use</h3>                    
				Enhance your website by adding a unique and attractive slider! And it is easy: download, copy & paster, tweak the styles to your desires. Well, that's it.
			</div>
		</div>
	</div>
</div>
</div>
</div>
<div style="text-align:center;clear:both">
</div>



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


热门标签: 图片拖动 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 图片头像上传 二维码 滚动切换 滑动选项卡切换 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 自动滚动图片轮播 图标导航菜单 选项卡切换 滑动手风琴 背景切换 滑动星星打分 手风琴 切换按钮 表单 图表 图片 头像截图 其他 缩略图 图片切换 选项卡自动切换 按钮控制 播放器

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到