Click to See Complete Forum and Search --> : conflict between onmous & onclik ??


Asch
11-23-2003, 10:20 AM
Hi i have this for a link - onmouseover&onmouseout changes color for it & onclick remembers with cookie wich link the person has clicked... :


onClick="SetCookie('country', this.name, exp);" onMouseOver="colorchange(this,1)" onMouseOut="colorchange(this,0)"

the problem is that when both are together..it closes the window automaticly instead of redirecting...bugs...

I have tried each separatly, and it works ...how combin it ???

many thx for your help..


asch

gil davis
11-23-2003, 10:32 AM
Try this:
onClick="SetCookie('country', this.name, exp);return false"Unless of course you want the normal link action to occur as well as the onclick.

Asch
11-23-2003, 10:37 AM
is okay I managed it...
i had a bug in a function ...lol....:O)

thx anyhow..


cheers

asch