W3C home > Mailing lists > Public > www-style@w3.org > November 2001

Re: How to preload background image

From: Vadim Plessky <lucy-ples@mtu-net.ru>
Date: Mon, 19 Nov 2001 10:54:58 +0000
Message-Id: <200111190753.fAJ7rsH13176@post.cnt.ru>
To: "Cristiano Guglielmetti" <guglielmetti@tin.it>, <www-style@w3.org>
On Saturday 17 November 2001 19:39, Cristiano Guglielmetti wrote:
|   Is there a method to pre-load background image as first and then other
|   objects?

JavaScript.
Use new Image(), just like people use for MouseOver image preloading, or 
DOM:createElement('IMG') if you have decent browser supporting DOM.

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
Received on Monday, 19 November 2001 02:54:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:11 GMT