On 30 Nov 98, Jack Killpatrick wrote:
> In this section, try removing the 2 lines marked with a * below:
>
> * function preLoad() {
[snip]
> * }
>
> This will cause the entire routine to be run when the page loads. As is,
> the function "preLoad" is not called anywhere else on the page
Um... any reason that you don't simply recommend using <body onLoad=>
to call the image caching script? That is the usual way to do this... it
helps assure that Javascript will wait for all the required rollover images to
fully load before attempting to run the script. This can eliminate various
errors of the 'document.imageX has no properties' variety.
If Suz went that route, she would leave the function definition the way it
was, and call it with the following:
<body onLoad='preLoad()>
-----------
Brent Eades, Almonte, Ontario
E-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Town of Almonte site: http://www.almonte.com/
Business site: http://www.federalweb.com
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------