Lightbox Clones
The Lightbox Clones Matrix is a list of scripts that do inline popups, ala Lightbox. You can filter by JavaScript frameworks and features.
The Lightbox Clones Matrix is a list of scripts that do inline popups, ala Lightbox. You can filter by JavaScript frameworks and features.
I’ve been looking for a good way to preload images for rollovers, but it seems like a lot of the common methods have problems.
There are reliability issues using a JavaScript Image object or document.write()
Some browsers won’t load a display:none containing element
So far the best way I’ve found is Perishable Press’ Better Image Preloading without JavaScript [...]
Mark Wilton-Jones has a good overview of the most common methods passing arguments to an event handler in JavaScript. This page has a function (addevent2()) that worked for me.
Stephen Stchur has written a script to mimic IE’s proprietary mouseenter and mouseleave Javascript events for non-IE browsers. This is useful when you have one element (B) laying on top of another element (A), and you want to do a mouseover/mouseout on A without the mouseout firing when you hover on B. Quirksmode has articles [...]