3 Replies Latest reply on Jan 31, 2007 5:35 AM by Newsgroup_User

    clickable url variable open new browser

    Level 7
      Below put the variable floorplan[p] as the address in the url and made
      it clickable. Works fine.
      I would like to open a new browser window when it is clicked.
      Can't get "_blank" to work. Not sure where to place it or use some other
      code instead of "_blank"?
      I used:
      if(floorplan[p] != "none") {
      myText = myText + "<b>floorplan:</b>" + (url = "<a
      href='"+floorplan[p]+"'>"+floorplan[p]+"</a>");
      }

      Thank you