target="_blank" is not working in ASP file..

Discussion in 'HTML & Website Design' started by amandakatherine, Sep 30, 2009.

  1. #1
    Hello,

    Here is a preview of my code:

    var bottomimages=new Array()
    bottomimages[0]="images/madclima_left.jpg"
    bottomimages[1]="images/elitecompetition_left.jpg"
    bottomimages[2]="images/coachpolos_left.jpg"
    bottomimages[3]="images/travelsuits_left.jpg"
    bottomimages[4]="images/casualwear_left.jpg"
    bottomimages[5]="images/socks_left.jpg"
    bottomimages[6]="images/show_your_support.jpg"

    var bottomimagelinks=new Array()
    bottomimagelinks[0]="http://www.yahoo.com"
    bottomimagelinks[1]="http://www.yahoo.com"
    bottomimagelinks[2]="http://www.yahoo.com"
    bottomimagelinks[3]="http://www.yahoo.com"
    bottomimagelinks[4]="http://www.yahoo.com"
    bottomimagelinks[5]="http://www.yahoo.com"
    bottomimagelinks[6]="http://www.yahoo.com" <-- this one needs to open in a new window!*


    Again, this is only a part of the code. What this is doing is calling an image and then calling the URL that it should link to. I need the bolded line to open in a new window. I have tried everything with the target="_blank", but it is still not working. Can anyone help me??


    Thank you!
     
    amandakatherine, Sep 30, 2009 IP