Benjamin Sterling schrieb: > and to help with keeping the load time down try: > > <style type="text/css"> > /* Caching CSS courtesf of; > Klaus Hartl <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> */ > @media projection, screen { > div.imgCache { position: absolute; left: -8000px; top: -8000px; } > div.imgCache img { display:block; } > } > @media print { div.imgCache { display: none; } } > > </style> > > <div class="imgCache"> > <img src="inc/busy.gif" /> > <img src="dialog/close.gif" /> > <img src="dialog/sprite.gif" /> > <img src="dialog/bl.gif" /> > > <img src="dialog/br.gif" /> > <img src="dialog/bc.gif" /> > <img src="notice/note_icon.png" /> > <img src="notice/close_icon.png" /> > </div> > > Klaus, this was a very good idea, imo. This was one of those things > that make you say "why didn't I think of that?"
Benjamin, well, that wasn't exactly my idea to use an element holding images as cache, it was yours! I just mentioned the offleft technique... :-) One thing: This is a little bit obtrusive in my eyes. Is it possible to add that element via JavaScript? Imagine JavaScript and CSS being disabled. And you should also add the missing alt attribute. -- Klaus _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
