利用jQuery实现分类插件特效



38 151 51



特效描述:利用jQuery实现 分类插件特效,jQuery黑色实用多级导航菜单

代码结构

1. 引入CSS

<link href="stylesheets/screen.css" type="text/css" rel="stylesheet" media="screen,projection" />
<link href="stylesheets/screen-ie6.css" type="text/css" rel="stylesheet" media="screen,projection" />

2. 引入JS

<script type="text/javascript" src="scripts/jquery.js"></script>
<script type="text/javascript" src="scripts/framework.js"></script>

3. HTML代码

<div id="container">
  <ul id="filter">
    <li class="current"><a href="#">All</a></li>
    <li><a href="#">Design</a></li>
    <li><a href="#">Development</a></li>
    <li><a href="#">CMS</a></li>
    <li><a href="#">Integration</a></li>
    <li><a href="#">Information Architecture</a></li>
  </ul>
  <ul id="portfolio">
    <li class="cms integration"><a href="#"><img src="images/a-list-apart.png" alt="" height="115" width="200" />A List Apart</a></li>
    <li class="integration design"><a href="#"><img src="images/apple.png" alt="" height="115" width="200" />Apple</a></li>
    <li class="design development"><a href="#"><img src="images/cnn.png" alt="" height="115" width="200" />CNN</a></li>
    <li class="cms"><a href="#"><img src="images/digg.png" alt="" height="115" width="200" />Digg</a></li>
    <li class="design cms integration"><a href="#"><img src="images/espn.png" alt="" height="115" width="200" />ESPN</a></li>
    <li class="design integration"><a href="#"><img src="images/facebook.png" alt="" height="115" width="200" />Facebook</a></li>
    <li class="cms information-architecture"><a href="#"><img src="images/google.png" alt="" height="115" width="200" />Google</a></li>
    <li class="integration development"><a href="#"><img src="images/netflix.png" alt="" height="115" width="200" />Netflix</a></li>
    <li class="information-architecture"><a href="#"><img src="images/nettuts.png" alt="" height="115" width="200" />NETTUTS</a></li>
    <li class="design information-architecture cms"><a href="#"><img src="images/twitter.png" alt="" height="115" width="200" />Twitter</a></li>
    <li class="development"><a href="#"><img src="images/white-house.png" alt="" height="115" width="200" />White House</a></li>
    <li class="cms design"><a href="#"><img src="images/youtube.png" alt="" height="115" width="200" />YouTube</a></li>
  </ul>
</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 导航切换 图片切换 文字切换 背景切换 手风琴 选项卡自动切换 视频切换 列表切换 渐隐切换 全屏切换 切换按钮 缩放切换 滚动切换 滑动选项卡切换 选项卡切换 滑动手风琴

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

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