pinkopanter
06-14-2003, 05:49 PM
How to make it open in the same window?
<a href="http://www.mysite.com" onmouseover="window.open(this.href)" target="_top">[ENTER]</a>
I try target=_top but... didn't work
Jimbo
06-14-2003, 05:54 PM
<a href="http://www.mysite.com" onMouseOver="window.open(this.href)" target="_self">[Enter]</a>
Use target="_self" when you want the link to open to the same window.
Hope that helps.:)
pinkopanter
06-14-2003, 06:04 PM
hey thanks, I didn't try it yet but I did it this way:
onMouseover="window.location=this.href"
Works perfect
glenngv
06-16-2003, 03:11 AM
you could have also used:
<a href="http://www.mysite.com" onMouseOver="window.open(this.href,this.target)" target="_self">[Enter]</a>
but why use onmouseover on a link to open that page?