Thursday, 7 March 2013

jQuery-Effects-Menu

Menu



A menu with the default configuration, disabled items and nested menus. A list is transformed, adding theming, mouse and keyboard navigation support. Try to tab to the menu then use the cursor keys to navigate.
Source Code

<!doctype html>

<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>jQuery UI Menu - Default functionality</title>
  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
  <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  <script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
  <link rel="stylesheet" href="/resources/demos/style.css" />
  <script>
  $(function() {
    $( "#menu" ).menu();
  });
  </script>
  <style>
  .ui-menu { width: 150px; }
  </style>
</head>
<body>

<ul id="menu">
  <li class="ui-state-disabled"><a href="#">Home</a></li>
  <li><a href="#">C#.NET</a></li>
  <li><a href="#">ASP.NET</a></li>
  <li><a href="#">JAVA</a></li>
  <li>
    <a href="#">Downloads</a>
    <ul>
      <li class="ui-state-disabled"><a href="#">Materials</a></li>
      <li><a href="#">Academic</a></li>
      <li><a href="#">Projects</a></li>
    </ul>
  </li>
  <li><a href="#">Tutorials</a></li>
  <li>
    <a href="#">Clients</a>
    <ul>
      <li>
        <a href="#">Contact Us</a>
        <ul>
          <li><a href="#">Office</a></li>
          <li><a href="#">Main Branch</a></li>
          <li><a href="#">Online</a></li>
        </ul>
      </li>
      <li>
        <a href="#">Enquiry</a>
        <ul>
          <li><a href="#">Projects</a></li>
          <li><a href="#">Tutorials</a></li>
          <li><a href="#">Training</a></li>
        </ul>
      </li>
      <li><a href="#">About Us</a></li>
    </ul>
  </li>
  <li class="ui-state-disabled"><a href="#">Amesville</a></li>
</ul>


</body>
</html>

No comments:

Post a Comment