View Full Version : how to open it in the same window?

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

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.:)

06-14-2003, 06:04 PM
hey thanks, I didn't try it yet but I did it this way:


Works perfect

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?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum