Skip to main content
Inspiring
January 30, 2007
Question

clickable url variable open new browser

  • January 30, 2007
  • 3 replies
  • 253 views
Below put the variable floorplan

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

!= "none") {
myText = myText + "<b>floorplan:</b>" + (url = "<a
href='"+floorplan

+"'>"+floorplan

+"</a>");
}

Thank you


This topic has been closed for replies.

3 replies

Inspiring
January 31, 2007
Got it to work with 'target='_blank' like this:

if(floorplan

!= "Null") {
myText = myText + "<b>floorplan:</b>" + (url = "<a
href='"+floorplan

+"'target='_blank'>"+floorplan

+"</a>");
}

Inspiring
January 31, 2007
Thanks for your response.

I'm learning actionscript and I'm not sure how to call the link:
if(floorplan

!= "none") {
myText = myText + "<b>floorplan:</b>" + (url = "<a
href='"+floorplan

+"'>"+floorplan

+"</a>");
}

"kglad" <webforumsuser@macromedia.com> wrote in message
news:epog89$g0$1@forums.macromedia.com...
> use the asfunction to have your link call a flash function that executes:

> getURL(url,"_blank");

kglad
Community Expert
Community Expert
January 30, 2007
use the asfunction to have your link call a flash function that executes: