On click redirect

Discussion in 'JavaScript' started by joaquin, Jun 9, 2007.

  1. #1
    Hello,

    I want to make a table like the one found in proxy.org so when my users click on any of the listings, they are redirected to site X. I know it has something to do with JS, but I have no idea where to begin or what to look for. Any help is appreciated.
     
    joaquin, Jun 9, 2007 IP
  2. diarmuid

    diarmuid Peon

    Messages:
    285
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hiya, I've just had a look at proxy.org and I was just wondering is there a reason it has to be Javascript? For me , all that happens when I click on one of the URLS, is that it opens in a new tab. Could you not simply use
    
    <a href="Whatever" target="_blank">Site name</a>
    Code (markup):
    I think that looks like the best option, but then I am not entirely sure I am reading either the table or the above post correctly!
    Either way, hope thats of some help!
     
    diarmuid, Jun 10, 2007 IP