利用jQuery實現播放器效果圖片切換代碼



34 133 45



特效描述:利用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>



用戶評論
大牛,別默默的看了,快登錄幫我點評一下吧!:)      登錄 | 注冊


熱門標簽: 圖片全屏 圖片淡出淡進 圖片淡出 圖片淡進 二維碼 圖片延遲加載 圖片延遲 圖片加載 圖片翻轉 圖片旋轉 圖片疊加 圖片層疊 圖片拖動 圖片拖拽 圖片放大鏡 頭像上傳 圖片上傳 帶縮略圖的幻燈片 h5圖片動畫 h5圖標動畫 html5圖片動畫 html5圖標動畫 圖片放大縮小 圖片縮放 圖片大小 圖片放大 圖片縮小 圖片變大 圖片變小 圖片廣告 地圖 中國地圖 世界地圖 滾動切換 滾動條切換 滑動選項卡 滑動切換 旋轉木馬 圖片旋轉木馬 文字旋轉木馬 旋轉木馬插件 圖片滾動 圖片滾動條 圖片滑動 圖片滑塊 圖片收縮展開 圖片收縮 圖片展開 純圖片輪播 圖片輪播 圖片切換 圖片選項卡 圖標選項卡 自動滾動圖片輪播 圖標導航 圖標菜單 選項卡切換 選項卡 切換 tab切換 頁面切換 選項卡插件 切換插件 背景切換 大圖切換 滑動手風琴 手風琴 水平手風琴 垂直手風琴 圖片手風琴 文字手風琴 手風琴插件 滑動星星打分 切換按鈕 表單 表單美化 表單插件 表單美化插件 圖表 圖片 圖片插件 頭像截圖 其他 縮略圖 圖片切換 圖片選項卡 圖標選項卡 選項卡自動切換 圖片切換 切換圖片 按鈕控制 播放器
?
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

jQuery/js討論群
群號:642649996
Css3+Html5討論群
群號:322131262

加群請備注:從官網了解到

老夫子电子