|
Posted by Neredbojias on 07/09/07 16:00
Well bust mah britches and call me cheeky, on Mon, 09 Jul 2007 13:56:08
GMT Jukka K. Korpela scribed:
> Scripsit Gin:
>
>> How to load first an image that I'm positioning using css ?
>
> The loading order can be affected in JavaScript, on browsers that have
> scripting enabled. For example, put the following right after the
> <html> tag (so that the code will be executed as early as possible):
>
> <script type="text/javascript">
> if(document.images) {
> img1 = new Image();
> img1.src = "foobar.gif"; }
> </script>
Probably should be: var img1 = new Image();
--
Neredbojias the human
Navigation:
[Reply to this message]
|