Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Question About Hyper Links


  • Please log in to reply
6 replies to this topic

#1 Bill L

Bill L

  • Members
  • 84 posts
  • OFFLINE
  •  
  • Local time:02:47 AM

Posted 05 March 2007 - 04:11 PM

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

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:47 AM

Posted 05 March 2007 - 04:37 PM

<a href="LINK" target="blank">

#3 KIDRoach

KIDRoach

  • Members
  • 102 posts
  • OFFLINE
  •  
  • Location:West Lafayette, IN
  • Local time:03:47 PM

Posted 06 March 2007 - 08:19 AM

i wanna ask another thing, how bout to target the link to open in another tab, not window. any way to do that ?
If Quizzes were Quizzicles, what are Tests ?

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:47 AM

Posted 06 March 2007 - 09:36 AM

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?

#5 KIDRoach

KIDRoach

  • Members
  • 102 posts
  • OFFLINE
  •  
  • Location:West Lafayette, IN
  • Local time:03:47 PM

Posted 06 March 2007 - 12:16 PM

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 =)
If Quizzes were Quizzicles, what are Tests ?

#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:47 AM

Posted 06 March 2007 - 12:25 PM

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.... :thumbsup:

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.

#7 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,259 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:12:47 AM

Posted 16 March 2007 - 09:56 AM

<a href="LINK" target="blank">


Shouldn't it be <a href ="LINK" target="_blank">?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users