xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierpaolo Fumagalli <p...@apache.org>
Subject Re: It's not christmas anymore
Date Tue, 04 Jan 2000 00:47:16 GMT
Jeff Martin wrote:
> 
> One thing I've noticed about the xml.apache.org is that while the images are
> loading if you move the mouse over a rollover image you get an error
> rolloverImagesOn[...].src is not an object. Whilst not really a major issue
> it bugs the hell out of me.
> 
> I think if you change the script.js so that you check that the object exists
> before before using this should fix the problem.
> 
> function rolloverOn(name) {
>   if(rolloverImagesOn[name]){
>     document.images[name].src=rolloverImagesOn[name].src;
>   }
> }
> 
> function rolloverOff(name) {
>   if(rolloverImagesOff[name]){
>       document.images[name].src=rolloverImagesOff[name].src;
>   }
> }

I'm no JavaScript expert, but this change shouldn't harm.
I committed it to the CVS and will be on-line to the next website
regeneration.

> P.S. can we have an easter theme next ;o)

Sure kid :)

	Pier

Mime
View raw message