Web Developer
jQuery plugin: popmenu
popmenu is a jQuery plugin that allows you to create simple ‘pop-up’ menu’s like which appear on web sites like play.com. It is currently being used at ikonsports.com.
It has similar functionality jQuery’s hover(over, out) but with a few more options specifically geared towards pop up menus. Most importantly it will continue to match an element that you want to appear when you move off the mouse original element and on to any new element, where ever its located in the DOM.
Parameters
target (DOMElement): This is the element that is to ‘appear’ when the hover event is called.
addStyle (string): Optional. Adds a class to the matched element on hover (of matched element and target). Removed on hover off.
time (int): Optional. Time in milliseconds after a hover off when target element is invisible.
speed (String|Number): Optional. A string representing one of the three predefined speeds (“slow”, “normal”, or “fast”) or the number of milliseconds to run the animation displaying the target (e.g. 1000).
autooff (boolean): Optional. Default is true. If turned on will automatically hide any target elements if visible when a different popmenu is triggered. For example if you pop up menu’s would overlap if they were both visable at the same time it will hide it first.
Example
$('#mybutton').popupmenu({ target: "#mybutton_menu", time: 300 });
Download
Production (944 bytes, packed) v1.0
Development (1.75 Kb) v1.0
| Print article | This entry was posted by Paul on 1 October 2008 at 9:46 am, and is filed under jquery. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
about 3 years ago
Hi Paul,
You did some work for me a couple of years ago on the hanoveritrecruitment.co.uk website. I haven’t been able to reach you since. Please could you get in touch as I need to discuss this domain with you.
Many Thanks,
James Burdis
about 11 months ago
kk