• Jquery 下拉菜单动画效果


    演示地址:http://www.corange.cn/demo/3768/index.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <title></title>

    <link rel="stylesheet" href="demo.css" type="text/css" media="all">
    <link rel="stylesheet" href="jquery.dropSlideMenu.css" type="text/css" media="all">

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="jquery-ui-1.7.2.custom.min.js"></script>
    <script type="text/javascript" src="jquery.event.hover.js"></script>
    <script type="text/javascript" src="jquery.dropSlideMenu.js"></script>

    <script type="text/javascript">
    $(document).ready(function() {
    $("#navigation").dropSlideMenu({
    indicators: true, // adds a div to the list items for attaching indicators (arrows)
    clickstream: true, // highlights the clickstream in a menu by comparing the links to the current URL path
    openEasing: "easeOutQuad", // open animation effect
    closeEasing: "easeInQuad", // close animation effect
    duration: 600, // speed of drop down animation (in milliseconds)
    delay: 800, // delay before the drop down closes (in milliseconds)
    hideSelects: true // hide all select elements on the page when the menu is active (IE6 only)
    });
    });
    </script>
    </head>

    <body>
    <p>&nbsp;</p>
    <div id="container">
    <div id="navigation">
    <ul>
    <li><a href="/home">Home</a></li>
    <li><a href="">Planets</a>
    <ul>
    <li><a href="#">Mercury</a></li>
    <li><a href="#">Venus</a></li>
    <li><a href="#">Earth</a></li>

    </ul>
    </li>
    <li><a href="http://www.corange.cn">corange.cn</a>
    <ul>
    <li><a href="http://www.corange.cn/html/corange_6_1.html">asp</a></li>
    <li><a href="http://www.corange.cn/html/corange_15_1.html">js</a></li>

    </ul>
    </li>
    <li><a href="#">Oceans</a>
    <ul>
    <li><a href="/oceans/arctic">Arctic</a></li>
    <li><a href="/oceans/atlantic">Atlantic</a></li>

    </ul>
    </li>
    <li><a href="/about">About</a></li>

    </ul>
    </div>

    </div>
    </body>
    </html>

    原文地址:http://www.corange.cn/archives/2011/05/3768.html

  • 相关阅读:
    新浪微博千万级规模高性能、高并发的网络架构经验分享
    PHP- 如何在终端输出带颜色的字体?
    淘宝大秒杀系统是如何设计的?
    如何打造千万级Feed流系统
    Redis实现分布式锁 php
    Ubuntu16.04 安装PHP7 的 imagick 扩展
    nginx配置http访问自动跳转到https
    使用Redis来实现LBS的应用
    PHP多进程编程初步
    选redis还是memcache,源码怎么说
  • 原文地址:https://www.cnblogs.com/zerogo/p/2209076.html
Copyright © 2020-2023  润新知