Help - Search - Members - Calendar
Full Version: Question About Hyper Links
BleepingComputer.com > Internet & Networking > Web Site Development
   
Bill L
Have a question......I know I can use <a href="LINK"> to create a link to another page. I did that but it opens the link in the SAME window. Can someone tell me how I can make it so it opens ANOTHER window.

Thanks
Bill
groovicus
<a href="LINK" target="blank">
KIDRoach
i wanna ask another thing, how bout to target the link to open in another tab, not window. any way to do that ?
groovicus
If your browser is the type that uses tabs, that should open a new tab. It depends on your browser settings.

Did I mention that it is considered poor design to use this method though? Or that the target method is deprecated?
KIDRoach
eh ? really ? then, what do we use nowadays?

another thing though, erm... it does not open another tab using the target="blank" attributes, if the browser is ie7. It still opens another window. or is there any settings that i need to do to change this preference ? it does however open another tab, if i were to use opera or firefox as a browser =)
groovicus
I have an application that opens in a new tab in Firefox, but that is what I have for the default setting in Firefox. I probably should have quantified it in that way. I have never tried it in IE, but I would assume that if it was set to use tabbed browsing that it should work. If the default setting is to open a page in a new window, it is not going to override it though.

And if not, hey, it wouldn't be the first time I was wrong today.... lmfao.gif

I see a lot of programmers using Javascript to open pages in new tabs; again, it is still not gong to override the browser's default behavior.
Amazing Andrew
QUOTE(groovicus @ Mar 5 2007, 02:37 PM) *
<a href="LINK" target="blank">

Shouldn't it be <a href ="LINK" target="_blank">?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.