Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The github thing now links to the repo

  • Loading branch information...
commit 207777f52b4e1250b1a5fa5ae95f0cd3f8b108d4 1 parent 848081e
@nhocki authored
Showing with 7 additions and 7 deletions.
  1. +5 −5 README.rdoc
  2. +2 −2 test.html
View
10 README.rdoc
@@ -10,13 +10,13 @@ The easiest way to use this plugin is to just run this function:
You can configure some options. Here I'll show the default ones:
- animationSpeed : 'fast'
+ animationSpeed : "fast"
slideUpInner : true // if false, the sub-menus will stay visible even if it's parent is hidden
slideDownInner : false // if true, all the navigation levels will be visible when a top level is clicked
- triggerElement : ".menu-title" // The element you want to trigger the event
- holderElement : ".menu-items" // The element that holds the actual items
- activeClass : "active" // The class element that will be added to the opened menus
- closedClass : "closed" // The class element that will be added to the hidden menus
+ triggerElement : ".menu-title" // The element you want to trigger the event
+ holderElement : ".menu-items" // The element that holds the actual items
+ activeClass : "active" // The class element that will be added to the opened menus
+ closedClass : "closed" // The class element that will be added to the hidden menus
The basic HTML structure is quite simple.
View
4 test.html
@@ -5,7 +5,7 @@
<script type="text/javascript">
$(function(){
$(".menu-items").hide();
- $(".menu-holder").slidingMenu({slideDownInner: false});
+ $(".menu-holder").slidingMenu();
});
</script>
<link rel="stylesheet" href="css/styles.css" type="text/css" charset="utf-8">
@@ -13,7 +13,7 @@
<body>
<div class="github-ribbon">
- <a href="http://github.com/nhocki" alt="Fork me on GitHub">
+ <a href="http://github.com/nhocki/jQuery-Sliding-Menu" alt="Fork me on GitHub">
<img src="images/github.png" alt="Fork me on GitHub"/>
</a>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.