target option allows changing the target element from li to any valid jquery selector. See target demo<li> dimensions, including both elements' all four border sizes.mouseleave/mouseenter to bind events so LavaLamp should work with
jQuery 1.2.3 onward.Download jquery.lavalamp-1.3.4.js BETA 2 full js with comments and documentation
NEW jQuery LavaLamp Github repository view the full revision history of jQuery LavaLamp and fork it @github!
A minified version and full zip with demos will come with 1.3.4 final release.
move() command in
returnDelay to fix errors some were seeing - thanks to Michel and
Richard for noticing this.
mouseover/mouseout events to mouseenter/mouseleave to fix jerky/stuttering animation
problem when using large margins on <li> elements. Thanks to Thomas for the solution
and Chris for clearly demonstrating the problem.
noLava class detection to prevent LavaLamp effect on <li> elements with this class. See the demo page for details.
Download jquery.lavalamp.1.3.3.js full js with comments and documentation
jquery.lavalamp.1.3.3-min.js minified js
Download LavaLamp 1.3.3 package includes all test files with full and minified versions
Now what? Check out the tutorial and demos!
$ references inside plugin to work correctly with jQuery.noConflict() mode..current class to .selectedLava for clarity and improved supportjQuery.noConflict() modeautoReturn: true - if set to false, hover will not return to last selected
item upon list mouseout.returnDelay: 0 - if set, will delay auto-return feature specified # of
milliseconds.setOnClick: true - if set to false, hover will return to default element
regardless of click event.homeLeft: 0, homeTop: 0 - if either set to non zero value, absolute
positioned li element with class .home is
prepended to list for homing feature.homeWidth: 0, homeHeight: 0 - if set, are used for creation of li.home
element.returnHome: false - if set along with homeLeft or homeTop, lavalamp hover
will always return to li.home after click.linum to startItem when you upgrade!linum parameter created a nifty out-of-bounds fly in effect that several people requested as a feature, so the home features are born!height and width - I opened a ticket here: http://dev.jquery.com/ticket/3881 but no one seemed interested in fixing it. Just be careful.<li> element selectionIf you are certain you have found a bug or serious problem with the plugin, demos or tutorials, please write me and let me know what you've found.