PDA

View Full Version : Open website in new page or replace existing



John W
08-03-2006, 07:36 AM
Whats the code to open a new webpage, in another IE program, versus the default - which it to overwite the existing page.

Like the webpage links posted to this site, always open another version of IE, but I cant see the code that does this.

Thanks............John in Mosgiel.

netchicken
08-03-2006, 07:52 AM
<a target="_blank" href="h....

the target="_blank" bit does it (you may be able to leave out the ")

Greg
08-03-2006, 07:59 AM
the target="_blank" bit does it (you may be able to leave out the ")Don't leave out the quotes, eg

<a href="http://www.aaaa.com" target="_blank">aaaaaaaaa</a>