Re: Image swap

by "Rossi Designs" <webmaster(at)rossidesigns.net>

 Date:  Tue, 16 May 2000 17:22:53 -0400
 To:  "Bob Sprague" <bsprague1(at)rcn.com>,
"HWG hwg-techniques HWG" <hwg-techniques(at)hwg.org>
 References:  rcn
  todo: View Thread, Original
It appears that you used the same variable names for your preloaded images
over and over again. Each image that you want to preload needs to have its
own name.

Image1
Image2

Image1
Image2

should be

Image1
Image2
Image3
Image4

or better yet use names that mean something with 'on' and 'off' added to
them




Rossi Designs
PO Box 1084
Holly Hill, FL 32125-1084
Phone : (904) 226-8979
URL : http://rossidesigns.net
----- Original Message -----
From: Bob Sprague <bsprague1(at)rcn.com>
To: HWG hwg-techniques HWG <hwg-techniques(at)hwg.org>
Sent: Tuesday, May 16, 2000 4:07 PM
Subject: Image swap


|
| I'm a JavaScript newbie, and I'm trying to create an image swap for five
| buttons at this test site:
|
| http://www.town.arlington.ma.us/zzztests/inbutest2.htm
|
| The buttons are supposed to switch from oblong to oval and back.
|
| I can get only the last image to approach a swap. The last image breaks in
| IE5, but not in NN 4.7.
|
| Can anyone suggest what's wrong? Thanks for any help.
|
| Bob Sprague
| communication specialist
| Arlington public schools
|
| (781) 641-4490 (home/office)
|
| Webmaster, Arlington's official site:
| http://www.town.arlington.ma.us
|
|
|

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA