WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 IMAGE ROLLOVERS, Markus, September 23, 2003
     Re:IMAGE ROLLOVERS , Scott, October 28, 2003
     Re:IMAGE ROLLOVERS, mikael bergkvist, September 23, 2003
         Re:IMAGE ROLLOVERS , Jackoe, September 29, 2003
         Re:IMAGE ROLLOVERS, Erik Arvidsson, September 25, 2003
             Re:IMAGE ROLLOVERS, mikael, October 6, 2003
                 Re:IMAGE ROLLOVERS, Erik Arvidsson, October 9, 2003

Subject: Re:IMAGE ROLLOVERS From: mikael Date: October 6, 2003

Right.
- My mistake, but I think the img-element should have a preload-attribute.
They missed out on that when they did HTML.
- Anyone knows why this tag works by the way?

<image src="some.gif" />

I was tired one evening and wasn't thinking, so I coded it this way, and it worked??
Wierd..

From: Erik Arvidsson
Sent: September 25, 2003
Subject: Re:IMAGE ROLLOVERS

That should not preload the image because lowsrc is not a valid attribute and it is not supported by any browser (except NN4) as far as I know.

To preload use

var img = new Image();
img.src = "img2.png";

erik





Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX