Brice Burgess schrieb: > I've done a little investigation with FF 2.0 & Firebug's NET view. The > images from quirksmode are "preloaded" (downloaded despite being a child > of a hidden element). The images in jqModal are not "preloaded" (in FF > at least...). I think this has to do with the fact that they're part of > the background styling, rather than existing as an element of their > own. e.g. <div style="background: url(preload.gif);" ...> vs. <img > src="preload.gif" ... /> > > Do you know of any way around this? I *could* have the plugin go > through each element in a dialog, examine the background styling, and if > it contains a image url; extract it into a faux hidden image tag. Seems > very un-jqModal though... ;) > > ~ Brice
The first idea I have now is instead of hiding these elements by display: none hide them offscreen (top: -500px, left: -500px) instead. Hm, or maybe just use visibility: hidden... Not sure, probably this won't let the browser preload images either. -- Klaus _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
