html css類似微軟中國首頁的豎向選項卡切換代碼



179 713 238



特效描述:豎向選項卡切換,純HTML+CSS類似微軟中國首頁的豎向選項卡

代碼結構

1. HTML代碼

<div id="hoverpage">
	<ul id="outer">
		<li class="page p1"><a href="#nogo" class="menuitem"><i>Products</i><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<div>
		<em></em>
		<img src="bags.jpg" alt="" />
		<h2>Products</h2>
		<h3>Lorem Ipsum</h3>
		<ul>
		<li><a href="#nogo1">Integer nonummy neque.</a></li>
		<li><a href="#nogo1">Aliquam accumsan.</a></li>
		<li><a href="#nogo1">Nulla in sapien eget eros.</a></li>
		<li><a href="#nogo1">Nam varius ante et risus.</a></li>
		<li><a href="#nogo1">Phasellus at erat id metus.</a></li>
		<li><a href="#nogo1">Donec malesuada ultricies.</a></li>
		<li><a href="#nogo1">Duis quis purus sit amet.</a></li>
		<li><a href="#nogo1">Morbi porta dapibus enim.</a></li>
		</ul>
		<h3 class="clear">Product Information</h3>
		<p>Suspendisse potenti. Donec viverra molestie enim. Fusce fermentum, erat id cursus aliquam, mauris augue volutpat dolor, in interdum purus pede dictum diam. Morbi interdum diam at ligula. Morbi laoreet. Morbi mollis tristique justo. Etiam accumsan fermentum ipsum. Phasellus vestibulum, leo in dapibus ultricies, nisi nulla fermentum tortor, eu lobortis nibh urna ac dui. Aliquam erat volutpat. Curabitur vitae sapien sed libero dictum pellentesque. Praesent quis enim nec tellus congue hendrerit. Ut tellus. Morbi rhoncus elit lobortis libero.</p>
		</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		<li class="page p2"><a href="#nogo" class="menuitem"><i>Services</i><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<div>
		<em></em>
		<img src="service.jpg" alt="" />
		<h2>Services</h2>
		<h3>Curabitur eget</h3>
		<ul>
		<li><a href="#nogo2">Suspendisse potenti.</a><br />Quisque at ante nec lacus cursus malesuada.</li>
		<li><a href="#nogo2">Donec viverra molestie enim.</a><br />Sed ac tortor nec augue hendrerit pulvinar.</li>
		<li><a href="#nogo2">Pellentesque habitant.</a><br />Nullam rhoncus hendrerit orci.</li>
		<li><a href="#nogo2">Vivamus non turpis.</a><br />Sed lacinia egestas mi.</li>
		</ul>
		<h3 class="clear">Available Services</h3>
		<p>Proin scelerisque justo quis ante. Maecenas vehicula orci quis arcu. Nam dictum lectus quis ipsum. In felis. Cras eu lectus. Nam sed est ut orci venenatis faucibus. Ut molestie massa non massa. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Curabitur eget magna a odio vestibulum laoreet. Vivamus faucibus tincidunt massa. Sed a nunc. Quisque varius sagittis libero.</p>
		</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		<li class="page p3"><a href="#nogo" class="menuitem"><i>Latest Information</i><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<div>
		<em></em>
		<img src="news.jpg" alt=""  />
		<h2>Latest Information</h2>
		<h3>Fusce fermentum</h3>
		<ul>
		<li><a href="#nogo3">Donec posuere enim a sapien.<br />Malesuada fames ac turpis egestas.</a></li>
		<li>Vivamus dignissim tincidunt quam.</li>
		<li>Nullam varius vestibulum mauris.</li>
		<li>Curabitur faucibus varius dui.<br /><a href="#nogo3">Cras suscipit viverra felis. Nullam diam.</a></li>
		<li>Vivamus convallis volutpat nunc.</li>
		<li>Sed porttitor dui vel nunc.</li>
		</ul>
		<h3 class="clear">Latest Product Information</h3>
		<p>Nam porttitor congue diam. Donec in mi. Fusce ac neque. Donec quis justo. Nunc non justo quis augue sagittis volutpat. Etiam quis ligula commodo augue tempus pulvinar. Morbi ante arcu, aliquam ut, consequat et, consequat sed, sem. Cras suscipit viverra felis. Nullam diam. Duis eros purus, ornare sit amet, viverra sed, laoreet ac, pede.</p>
		</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		<li class="page p4"><a href="#nogo" class="menuitem"><i>Press Release</i><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<div>
		<em></em>
		<img src="press.jpg" alt="" />
		<h2>Press Release</h2>
		<h3>Quisque varius</h3>
		<dl>
		<dt>11th June 2007</dt>
		<dd>In feugiat scelerisque pede.</dd>
		<dd>Morbi iaculis eleifend ante.</dd>
		<dd>Maecenas fringilla scelerisque erat.</dd>
		<dd>Nam <a href="nogo5">accumsan</a> egestas eros.</dd>
		</dl>
		<h3 class="clear">News and Information</h3>
		<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse vitae sem. <a href="nogo5">Class aptent taciti</a> sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Donec ut nunc. <a href="nogo5">In dictum, dui nec vehicula vehicula</a>, neque leo faucibus est, porta vehicula nisi odio eu tellus.</p>
		</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		<li class="page p5"><a href="#nogo" class="menuitem"><i>Contact us</i><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<div>
		<em></em>
		<img src="contact.jpg" alt="" />
		<h2>Contact us</h2>
		<h3>Donec condimentum</h3>
		<ul>
		<li>Phasellus vitae arcu et mauris facilisis ornare.</li>
		<li>Nullam ultrices <a href="#nogo5">urna nec erat</a> facilisis faucibus.</li>
		<li>Ut cursus posuere eros.</li>
		<li>Vestibulum <a href="#nogo5">dapibus</a> tortor eu nisl.</li>
		<li>Proin ac mauris non lacus pharetra aliquet.</li>
		</ul>
		<h3 class="clear">Contact Details</h3>
		<p>Praesent vehicula interdum massa. Nunc velit erat, pulvinar vitae, tempor non, porttitor non, ipsum. Nullam venenatis, quam a tincidunt semper, neque velit dictum quam, at mattis mauris mauris a dolor. Aliquam urna. <a href="nogo5">Ut pellentesque dapibus quam.</a> Mauris dapibus dictum felis. Praesent tellus quam, aliquet in, malesuada aliquet, pretium non, eros. Cras aliquam ligula vitae nunc.</p>
		</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
	</ul>
</div>



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


熱門標簽: flash導航菜單 flash導航條 flash導航 flash菜單 flash下拉菜單 flash下拉導航菜單 導航切換 菜單切換 浮動菜單 浮動導航 收縮菜單 收縮導航 右鍵菜單 滑動導航菜單 滑動導航 滑動菜單 滾動導航菜單 滾動菜單 滾動導航 h5動畫導航 h5動畫菜單 html5動畫導航 html5動畫菜單 滾動切換 滾動條切換 滑動選項卡 滑動切換 滑動手風琴 選項卡切換 選項卡 切換 tab切換 頁面切換 選項卡插件 切換插件 導航菜單 導航條 菜單欄 導航欄 分類導航 響應式導航條 響應式導航 豎直導航 豎直菜單 響應式豎直導航 選項卡自動切換
?
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

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

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

老夫子电子