|
-
Jun 19th, 2000, 12:31 AM
#1
Thread Starter
Member
Greetings All,
Is there an Easy way to preload images in VBScript like there is in Javascript.
I have a Page that Does image swapping based on mouseover event. But this is causing the page to "download" the image Everytime it swaps.
Thanks in advance.
Devin
-
Jun 20th, 2000, 11:05 PM
#2
Hyperactive Member
If you use this:
<IMG SRC="YourImage.jpg" ALT="My Image" WIDTH=1 HEIGHT=1>
Your picture will be loaded as a 1 x 1 dot and it can be hidden against something else like another image. Cool thing is that it doesn't require any scripting language!
Later,
-
Jun 21st, 2000, 12:57 AM
#3
Thread Starter
Member
Yeah, that would work however :-)
I need to use the Scripting because there are "Image maps" used, Mainly where/ what they Click on needs to be done and the image needs to change depending on where the mouse pointer is.
a perfect Example would be an Image of the US and having the state "highlight" depending on where the mouse in on the image. ( similar to a Java Rollover image )
I have this Working but it is constantly trying to download the image.
Does that Help Clear it up a bit?
Devin ( Spyder )
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|