I just noticed that in example 3 on the demo page: "true modal", if you open either example, you scroll the page they move along with it. Does this still qualifies as modal ? In my understanding, modal means no interaction is possible outside the focused area i.e. the window .
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brice Burgess Sent: mercredi 7 février 2007 21:00 To: jQuery Discussion. Subject: Re: [jQuery] jqModal updated -- dialog customization galore Klaus Hartl wrote: > Brice Burgess schrieb: > >> Sam Collett wrote: >> >>> - Preload the images used by the styled dialog >>> >>> >> I *believe* they are .. unless browsers don't cache/load images >> contained in a hidden element. Have you seen the CSS tab of example 2? >> Most of the images are background images. >> > > Some browsers do not load images just because they're in the HTML > source and hidden by CSS..., you can test here: > > http://www.quirksmode.org/css/displayimg.html > > For example my Opera 9 on Mac OSX doesn't. > > > -- Klaus Klaus, 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 _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/ -- Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.441 / Base de données virus: 268.17.29/673 - Date: 6/02/2007 17:52 _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
