link in new window

liunx

Guest
Explorer does it<br />
Firebird does it<br />
But Opera don't do it.<br />
<br />
I want to open a link in a new window. Opera chooses the same window (it is not my personal settings of the browser)<br />
What wrong with this code?<br />
<br />
or better what is the correct code?<br />
<br />
<br />
<br />
</a><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.georgelangenberg.com/" target="_new">www.georgelangenberg.com </a><!--content-->by the way this is the page where the links don't work as they should: Only in Opera!<!--content-->well, the code looks fine to me :)<br />
It works. I use explorer. I think opera may not be compatible with it.<br />
<br />
Are u using opera? If u are, then maybe opera is not compatible or you have a popu killer on. This causes the window to close as it opens!<br />
<br />
You'll need to ask a pro at this, but this is my opinion!<!--content-->I've never seen target="_new"<br />
<br />
I usually use target="_blank" <br />
<br />
I'm using IE6 (I'm only developing on 1 browser cos it's an Intranet). Anyway it may be worth your while trying that one!<br />
<br />
HTH<!--content-->It was the target _new<br />
it should be _blank indeed<br />
<br />
I don't know why I leaned it the wrongway... <br />
<br />
Thanx screaming_banjo<!--content-->No probs!<!--content-->well, beleive it or not, i copied and pasted the code onto frontpage. Then previewed it on explorer, and it worked!!! What could be the reason for this?<!--content-->in explorer if you set the target of a link to be anything other than _top _self _parent or _blank (these are reserved target names (<!-- m --><a class="postlink" href="http://forums.webdeveloper.com/showthread.php?s=&threadid=25902">http://forums.webdeveloper.com/showthre ... adid=25902</a><!-- m -->), for use with frames) then it will open a new window for the link, as it can't find a frame name with "_new" (in this example). so it thinks... "uh, i can't find a frame with the name of '_new' so i'll just have to open a new window to save loading a page wrongly in the current browser". if you turn up your speakers, you might even hear IE say that<br />
<br />
i think if opera tries to open a link with a target which isn't defined in a frame somewhere, then it just loads it over the _top by default<br />
<br />
:confused:<!--content-->hmmm... I never knew that! Thatnx alot<!--content-->
 
Back
Top