html css类似微软中国首页的竖向选项卡切换代码



175 696 233



特效描述:竖向选项卡切换,纯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

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