Klaus Hartl wrote:
>
> The first idea I have now is instead of hiding these elements by
> display: none hide them offscreen (top: -500px, left: -500px) instead.
Klaus,
Excellent idea! I've included code which looks like:
<!-- optional: image cacheing. Any images contained in this div will be
loaded offscreen, and thus cached -->
<style>
div.imgCache{position:absolute;left:-8000px; top: -8000px;}
div.imgCache img{display:block;}
</style>
<div class="imgCache">
<img src="inc/busy.gif" />
<img src="dialog/close.gif" />
.....
The plugin page has been updated to with the caching fix, as well as
demonstration on how to use it (exterior of plugin).
http://dev.iceburg.net/jquery/jqModal/?y
Thanks for the suggestion.
~ Brice
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/