基于jQuery css3實現漸變焦點圖



36 142 48



特效描述:基于jQuery css3實現 漸變焦點圖,基于jQuery css3實現漸變焦點圖

代碼結構

1. 引入CSS

<link rel="stylesheet" media="screen, print" href="css/basic.css" />
<link rel="stylesheet" media="screen" href="css/screen.css" />
<link rel="stylesheet" media="screen, print" href="css/basic.css" />
<link rel="stylesheet" media="screen" href="css/screen.css" />

2. 引入JS

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

3. HTML代碼

<!doctype html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title></title>
<meta name="viewport" content="width=device-width; initial-scale=1.0">
</head>
<body id="home-page">
<div id="wrap">
	<div id="content">
	<section id="featured">
		<div id="slides">
		<section id="slide-1" class="alt">
			<img src="img/0140_foodsense.jpg" alt="What's Cooking? " />
			<a href="http://51qianduan.com/">
			<h1>What&#39;s Cooking? </h1>
			<h2>Browse our gallery for dependably delicious recipes. </h2>
			</a>
			<p class="credit">photo by Clare Barboza</p>
		</section>
	<section id="slide-2" >
			<img src="img/0219_foodsense.jpg" alt="Read, Learn, Share" />
			<a href="http://51qianduan.com/">
			<h1>Read, Learn, Share</h1>
			<h2>Get daily how-tos, stories &amp; updates with the latest news. </h2>
			</a>
			<p class="credit">photo by Clare Barboza</p>		</section>
	<section id="slide-3" class="alt">
			<img src="img/0052_foodsense.jpg" alt="Shop for the Best" />
			<a href="http://51qianduan.com/">
			<h1>Shop for the Best</h1>
			<h2>With our carefully curated vendor list, you&#39;ll know what to buy.
			</h2>
			</a>
			<p class="credit">photo by Clare Barboza</p>		</section>
	<section id="slide-4" >
			<img src="img/0232_foodsense.jpg" alt="Share your Food Sense" />
			<a href="http://51qianduan.com/">
			<h1>Share your Food Sense</h1>
			<h2>Submit your favorite recipes, become a contributor, or get 
			interviewed.</h2>
			</a>
			<p class="credit">photo by Clare Barboza</p>		</section>
		</div>
		<div id="nav">
			<ul>
				<li id="feature-1"><a href="http://51qianduan.com/">
				<h3>Tastemakers</h3>
				<p>Feast your eyes &amp; get recipes!</p>
				</a></li>
				<li id="feature-2"><a href="http://51qianduan.com/">
				<h3>Blog</h3>
				<p>News, how-tos, stories, and more</p>
				</a></li>
				<li id="feature-3"><a href="http://51qianduan.com/">
				<h3>The A-List</h3>
				<p>Handpicked, absolute favorites</p>
				</a></li>
				<li id="feature-4"><a href="http://51qianduan.com/">
				<h3>Contribute</h3>
				<p>We want to hear from you!</p>
				</a></li>
			</ul>
		</div>
</section>
	</div>
	<!-- /#content -->
<div style="text-align:center;clear:both">
</div>
</body>
</html>



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


熱門標簽: flash焦點圖 flash幻燈片 flashbanner flash圖片輪播 滑動選項卡 滑動切換 滾動切換 滾動條切換 滑動手風琴 選項卡切換 選項卡 切換 tab切換 頁面切換 選項卡插件 切換插件 滑動星星打分 漸隱切換 淡出淡進 淡出 淡進 焦點圖 幻燈片 輪播圖 bar焦點圖 其他 圖片淡出淡進 圖片淡出 圖片淡進 帶標題的焦點圖 純圖片輪播 圖片輪播 文字切換 文字選項卡 選項卡自動切換 鼠標滑過 鼠標懸停 跟隨鼠標移動
?
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

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

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

湖北30选5开奖结果走势图表