Preloads are getting silly
For reasons of my own, I am cracking on with learning JS again. Yes Geoff,
Ben was round answering questions yesterday.
I've been looking up break-downs of how exactly the syntaxes I've been
copying work _character-for-character_ and came across so bloody many
scripts just for preloading images. Everything from my library record of;
if(document.images)
{
image1 = new Image(WIDTH,HEIGHT);
image1.src = "xxx.jpg";
}
To one generated by Dreamweaver which includes 'for', 2 'var's & 3 'if's
Will the first do my job or do I need to state image paths and variables??
Thanks in advance.
-dE|_---
date: Thu, 18 Sep 2008 13:51:59 +0100
author: dE|_
|
Re: Preloads are getting silly
In uk.net.web.authoring message <8asAk.212$bB4.52@newsfe14.ams2>, Thu,
18 Sep 2008 13:51:59, dE|_ posted:
>For reasons of my own, I am cracking on with learning JS again.
It's a good idea to read the newsgroup c.l.j and its FAQ. See below.
--
(c) John Stockton, nr London UK. ?@merlyn.demon.co.uk IE7 FF2 Op9 Sf3
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
date: Mon, 13 Oct 2008 13:37:24 +0100
author: Dr J R Stockton
|