• 0

Open in new window (HTML)


Question

How can I make links open in a different already open window?

EG: When you search with the "Search" button in IE, when you click a result it opens in the main window. How do I do this?

PS - I'm trying to do it with the "Tip of the Day" explorer bar)

Thanks.

EDIT: It's a javascript bookmarklet too, if that makes a difference.

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

the most important thing is "target".

it could be eg.:_blank(opens in new window), _top (in the same window), _self(same window), _parent (parent frame), or just a window name. you can name windows when you define frames.

just as gumboot said:D

Link to comment
Share on other sites

  • 0
Originally posted by Gumboot

I guess it... switches the background colour of every link on the page from yellow to the background colour of the document and vice versa. :rambo:

Am I right? Do I win a prize? :D

Kinda. Hilights all links :p

www.bookmarklets.com

Link to comment
Share on other sites

  • 0

Any ideas of what the php code is to make a link open a new window?

Check my website out (the right hand side - "latest forum posts".

When you click on a post it opens in the same frame, i want it to open a new broswer window though like target="_blank" does.

Cheers

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.