jQuery TekMenu
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_notes
js
test
MIT-LICENCE..txt
README.md
index.html
index2.html
index3.html
index4.html
index5.html
styles.css
tekmenu.jquery.json

README.md

TekMenu, Menu html with JQuery

Objective: To create a plugin to generate dynamic menus, really easy to use.

 

Plugin:

The basic call

$ ("a.menu). TekMenu ();

The link with the menu style must have the rel tag with the id of html to be shown by the menu plugin.

 

<a href="" class="menu" rel="#menu1">Entrada menu</a>
<div id="menu" class="second " >
 <ul class="second">
  <li> Item 1</li>
  <li> Item 2</li>
  <li> Item 3</li>
 </ul>
</div>

The CSS:

div.second {
	width:300px; // need to set a wide
	position:absolute; / / position must be absolute
	z-index:1300; / / z-index indicates that it should be over other items
	display:none;.

}

 

Parameters: 

fullAnimation (boolean) if true allows to finish the animation but the mouse is already outside. With false hides directly.

timeout (integer) time to wait before hiding the menu.