手风琴

jquery水平手风琴折叠菜单插件

阿里云

这是一款炫酷的 jquery 水平手风琴折叠菜单效果。该 jquery 风琴折叠菜单效果以 1870 年为主题,在切换菜单项时带有幻影效果,并在整体上配以炫酷的文字动画效果。

使用方法:

在页面中引入 1870primary.css 和 1870Level2.css 样式文件,jquery 和其它 js 文件。

也想出现在这里?联系我们
创客主机
  1. <link href="css/1870primary.css" rel="stylesheet" type="text/css">
  2. <link href="css/1870Level2.css" rel="stylesheet" type="text/css">
  3. <script src='js/jquery.min.js'></script>
  4. <script src="js/jquery.easing.1.3.js"></script>
  5. <script src="js/jquery.transform2d.js"></script>
  6. <script src="js/clientLogin.js"></script>
  7. <script src="js/warTextEffect_jvollmer3.js"></script>
  8. <script src="js/jquery.accordianMenu_jvollmer3.js"></script>


其中,构成水平手风琴效果的 HTML 结构如下:

  1. <div id="subMenu" class="subMenu">
  2.   <ul>
  3.     <li>
  4.       <a href="#" class="pos1">
  5.         <span class="menuPreview"></span>
  6.         <span class="menuImage"></span>
  7.       </a>
  8.       <div class="menuDescription">
  9.         <h2>Road to War</h2>
  10.         <h3>The Preliminaries</h3>
  11.         <p>
  12.         This section will discuss the conditions
  13.         in Europe leading up to 1870 concentrating
  14.         on the roles played by Prussia and France.
  15.         </p>
  16.         <p>
  17.           <ul class="subNav">
  18.             <li><a href="#">Pre-1870 Europe</a></li>
  19.             <li><a href="#">1866 - The Austro-Prussian War</a></li>
  20.             <li><a href="#">The Hohenzollern Candidature</a></li>
  21.             <li><a href="#">France declares War</a></li>
  22.             <li><a href="#">The Armies Mobilise</a></li>
  23.           </ul>
  24.         </p>
  25.       </div>  <!-- end menuDescription div -->
  26.     </li>
  27.     <li>
  28.       <a href="#" class="pos2">
  29.         <span class="menuPreview"></span>
  30.         <span class="menuImage"></span>
  31.       </a>
  32.       <div class="menuDescription">
  33.         <h2>The Armies</h2>
  34.         <h3>The Fighting Men of 1870</h3>
  35.         <p>
  36.         The war of 1870 saw armies made up of diverse
  37.         colorful units that fought in large-scale battles.
  38.         </p>
  39.         <p>
  40.           <ul class="subNav">
  41.             <li><a href="#">The French (Imperial forces)</a></li>
  42.             <li><a href="#">The Prussians</a></li>
  43.             <li><a href="#">The Bavarians</a></li>
  44.             <li><a href="#">The Minor German States</a></li>
  45.             <li><a href="#">The French (Republican forces)</a></li>
  46.           </ul>
  47.         </p>
  48.       </div>  <!-- end menuDescription div -->
  49.     </li>
  50.     <li>
  51.       <a href="#" class="pos3">
  52.         <span class="menuPreview"></span>
  53.         <span class="menuImage"></span>
  54.       </a>
  55.       <div class="menuDescription">
  56.         <h2>The Leaders</h2>
  57.         <h3>Movers and Shakers of 1870</h3>
  58.         <p>
  59.         The moral effect of leadership was to profoundly
  60.         impact the outcome of the Franco-Prussian War
  61.         - one of the most interesting aspects of 1870.
  62.         </p>
  63.         <p>
  64.           <ul class="subNav">
  65.             <li><a href="#">A Narrative on Leadership</a></li>
  66.             <li><a href="#">Political Leaders of 1870</a></li>
  67.             <li><a href="#">French Leaders (Imperial phase)</a></li>
  68.             <li><a href="#">German Leaders</a></li>
  69.             <li><a href="#">French Leaders (Republican phase)</a></li>
  70.           </ul>
  71.         </p>
  72.       </div>  <!-- end menuDescription div -->
  73.     </li>
  74.     <li>
  75.       <a href="#" class="pos4">
  76.         <span class="menuPreview"></span>
  77.         <span class="menuImage"></span>
  78.       </a>
  79.       <div class="menuDescription">
  80.         <h2>The Timeline</h2>
  81.         <h3>The Chronology of 1870</h3>
  82.         <p>
  83.         The timeline of the Franco-Prussian War 
  84.         organized into its distinctive parts.
  85.         </p>
  86.         <p>
  87.           <ul class="subNav">
  88.             <li><a href="#">Pre-war events</a></li>
  89.             <li><a href="#">The Imperial Phase - to Sep, 1870</a></li>
  90.             <li><a href="#">The Republican Phase</a></li>
  91.             <li><a href="#">Aftermath</a></li>
  92.           </ul>
  93.         </p>
  94.       </div>  <!-- end menuDescription div -->
  95.     </li>
  96.     <li>
  97.       <a href="#" class="pos5">
  98.         <span class="menuPreview"></span>
  99.         <span class="menuImage"></span>
  100.       </a>
  101.       <div class="menuDescription">
  102.         <h2>The Battles</h2>
  103.         <h3>Battle Narratives of 1870-71</h3>
  104.         <p>
  105.         Battle narratives containing essential information
  106.         for each battle including opposing plans, terrain, battle 
  107.         progress, orders of battle, and the resulting consequences.
  108.         </p>
  109.         <p>
  110.           <ul class="subNav">
  111.             <li><a href="#">Frontier Battles</a></li>
  112.             <li><a href="#">The Metz Campaign</a></li>
  113.             <li><a href="#">Sedan - End of the Empire</a></li>
  114.             <li><a href="#">Republican Phase Campaigns</a></li>
  115.             <li><a href="#">End Game - the Surrender</a></li>
  116.           </ul>
  117.         </p>
  118.       </div>  <!-- end menuDescription div -->
  119.     </li>
  120.  
  121.   </ul>
  122. </div>  <!-- end subMenu div -->

该 jquery 水平手风琴折叠菜单插件的 github 地址为:https://github.com/jjv329/AccordianSlider

jquery 水平手风琴折叠菜单插件

已有 638 人购买
查看演示升级 VIP立刻购买

演示地址 下载地址
收藏
(0)

发表回复

热销模板

Ashade - 作品展示摄影相册WordPress汉化主题
LensNews

本站承接 WordPress / PbootCMS / DedeCMS 等
系统建站、仿站、开发、定制等业务!