Click to See Complete Forum and Search --> : re: Why Aren't my onMouseout events working??


luds
05-11-2003, 07:18 PM
Could someone have a glance at this page please?

paulvarney.pwp.blueyonder.co.uk/pastfinalists.htm

and tell me why i can get the pics to appear when I move over the names... but why they remain when I roll off them?

I've only put the script in for the male finalists btw

thanks

luds

havik
05-11-2003, 07:27 PM
Everything appears in working order for Opera 7.1, which browser are you using?

I looked at the code and for now, this is what may be causing the problem

Change all these:
new Image

into these:
new Image()

It may help.

Havik

luds
05-11-2003, 07:38 PM
I'm checking my page with IE and Netscape 6

the () don't seem to help.. but thanks for replying Havik, it's much appreciated :¬)

luds

luds
05-11-2003, 07:56 PM
the javascript console in netscape says

document[imgField] has no properties

but I can't see how I go about correcting that

luds
05-11-2003, 08:15 PM
Cheers dave... but unfortunately that doesn't seem to do anything!

Not your fault... crikey, you'd have thought that netscape, as the inventors of JavaScript would be able to probuce an editor that could do the businiess!!! lol

Anyway... it's 2.15am and my brain's stopped working... thanks for your time and help :¬)

luds

luds
05-12-2003, 03:15 AM
Dave!!!!!!!!
You're a star!!!!!!!!!!

As an encore..could you tell me why it should be "(offSpacer','offSpacer')"??

I assumed that on the onMouseOut that the script would take alfredBoe and replace it with offSpacer, like offSpacer is replaced with alfredBoe in the onMouseOver event?

and again....
Many, many thanks for your solution to my problem :¬)

luds

luds
05-12-2003, 04:51 PM
Cheers Dave.. I understand now.

thanks :¬)

luds