Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

jQuery LavaLamp Menu


Average rating
(15 votes)

jQuery 1.2.x and 1.3 series LavaLamp plugin

LavaLamp is a plugin based on Guillermo Rauch and Ganesh Marwaha's previous plugins for mootools and jQuery 1.1.x respectively. Using the Sliding Doors CSS / Javascript technique, LavaLamp allows you to add a nice background hover effect to HTML link lists using the Easing library.

New in 1.3.2

  • patched to remove stray $ references inside plugin to work correctly with jQuery.noConflict() mode - thanks Colin.

New in 1.3.1

  • verified for use with jQuery 1.3 - should still work with 1.2.x series
  • changed linum parameter to startItem for clarity
  • improved slide-in accuracy for .back elements with borders
  • changed .current class to .selectedLava for clarity and improved support
  • appended 'Lava' to all internal class names to avoid conflicts
  • support for jQuery.noConflict() mode (broken - see 1.3.2 release)
  • performance improvements

new options:

  • autoReturn: 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.

Notes for this version:

  • two big changes were made to the internals that may affect upgrading to this version. make sure to update your CSS class names and change linum to startItem when you upgrade!
  • a bug in the first few versions with the linum parameter created a nifty out-of-bounds fly in effect that several people requested as a feature, so the home features are born!
  • known issue: IE may throw an error if using an out-of-bounds home with too small height and width - this is being investigated here: http://dev.jquery.com/ticket/3881

Releases

Official releasesDateSizeLinksStatus
1.3.22009-Feb-097.64 KBRecommended for 1.2.xThis is currently the recommended release for 1.2.x.