A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Simple !!! add target="_blank" to this one please.

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    5

    Simple !!! add target="_blank" to this one please.

    Hi all,

    A simple one,
    I use xml to have a dynamic text and link it to whatever.com,
    I need it to open in a _blank window for obvious reasons.

    all i need is to add target="_blank"

    but it doesnt work...

    the code line is:

    news += "<font color='#ffff00' size='8' face = 'standard 07_65'><a href=' " +articles[i].source_one_url+ articles[i].link + "'>" + articles[i].headline + "</font></a><br>";

    Thank you
    interfacer

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    How about,

    news += "<font color='#ffff00' size='8' face = 'standard 07_65'><a href='" + articles[i].source_one_url + articles[i].link + "' target='_blank'>" + articles[i].headline + "</font></a><br>";

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center