How to open a hyperlink uing javascript?

Discussion in 'Software' started by chronicle, Dec 4, 2005.

  1. chronicle

    chronicle Private E-2

    <a href="URL" target="_blank">NAME</a>

    The abve is the url for opening a hyperlink using HTML.

    How to open the smae link in a javascript window?
     
  2. Wookie

    Wookie Sergeant Major

    You would have to use an onclick event and send the url to a function that uses the window.open method to open the page. Research window.open.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds