Re: need HTML guru for small help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian Chandler <chandler@yomogi.or.jp> wrote/replied to:

><script type="text/javascript"><!--
>// Load bg ahead
>var anything = new Image();
>anything.src = "pics/clouds.jpg";
>//-->
></script>
>
>This is entirely independent of the actual background loading, but just
>by mentioning the image file, with luck the browser will start loading
>it immediately. The virtue of this over possibly more elaborate schemes
>is that if it "doesn't work" it will simply have no effect.
>
>Hard to test this sort of thing exhaustively, but it seemed to help my
>index page. ( Search down source of http://imaginatorium.org/index.htm
>for "Load graphics ahead of photos")
>
>Brian Chandler

I tried your code, even checked your page, you don't load a
background, yours is plain yellow.

I couldn't get mine to load first, will keep trying.

What truly amazes me is I haven't been able to find this, although it
seems like it should be a default, or at the least easy to set or
code. Many pages have figured it out though, I see pages loading
backgrounds first all the time.


[Index of Archives] [Share Photos] [Epson Inkjet] [Scanner List] [Gimp Users] [Gimp for Windows]

  Powered by Linux