Forum Moderators: open

Message Too Old, No Replies

Window problem - links keep opening in a new window

         

dodo10

4:15 pm on Jun 12, 2003 (gmt 0)

10+ Year Member



Hi guys
i have a website with an intro in it and this intro has an ENTER button as well, but each time i click the ENTER button it send me to the homepage but on ANOTHER WINDOW. The question is what can i do to prevent the homepage from opening on another window when i click the ENTER button, any idea would be helpful. Thanks in advance

BlobFisk

4:16 pm on Jun 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Strange - the default setting for links is the same window. As per edit_g's post check to see if there is a target="_blank" on the <a> tag. If there is - take it out, this is the cause of your problems! If not, try using target="_self" in the link - this will force it to stay in the same window.

HTH!

[edited by: BlobFisk at 4:20 pm (utc) on June 12, 2003]

edit_g

4:16 pm on Jun 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sounds like you have a target="_blank" in your link - take this out and it should open in the default (same) window.

<added>nice one BlobFisk</added>

Web Footed Newbie

4:23 pm on Jun 12, 2003 (gmt 0)

10+ Year Member



You guys are quick! Yes, look in your html
<a target="_blank" href="http://www.widgets.com">
and REMOVE the a target="_blank" and that should solve your problem.
Good luck, WFN :)

dodo10

5:27 pm on Jun 12, 2003 (gmt 0)

10+ Year Member



Thanks guys!