利用js實現下拉式tab標簽導航切換



24 95 32



特效描述:利用js實現 下拉式 tab標簽 導航切換,利用js實現下拉式tab標簽導航切換

代碼結構

1. 引入CSS

<link rel="stylesheet" href="css/zzsc.css" type="text/css" media="screen" />

2. 引入JS

<script type='text/javascript' src='js/prototype.js'></script>
<script type='text/javascript' src='js/scriptaculous.js?load=effects'></script>
<script type='text/javascript' src='js/e24tabmenu.js'></script>

3. HTML代碼

<div id="page">
  <div id="menu" >
    <!---menu  container-->
    <div id="item_3d" class="menutarget">
      <div class="gallery" > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </div>
    </div>
    <div id="item_gall" class="menutarget">
      <div class="gallery"> Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. </div>
    </div>
    <div id="item_menu" class="menutarget">
      <div class="gallery"> Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? </div>
    </div>
    <div id="item_efec" class="menutarget">
      <div class="gallery"> Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? </div>
    </div>
    <a id="3d" href="#3d" rel="e24menuitem[item_3d]"><img src="images/3d.gif" alt="Efectos 3D" /></a> <a id="gall" href="#galerias" rel="e24menuitem[item_gall]"><img src="images/galerias.gif" alt="Galería de fotos AJAX" /></a> <a id="menus" href="#menus" rel="e24menuitem[item_menu]" ><img src="images/menus.gif" alt="Efectos de Menús" /></a> <a id="efec" href="#efectos" rel="e24menuitem[item_efec]"><img src="images/efectos.gif" alt="Otros efectos ajax" /></a>
    <!--texto-->
  </div>
  <!--menu container-->
  <!--End of Menu -->
</div>
<div style="text-align:center;clear:both">
</div>
</html>



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


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

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

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

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

老夫子电子