straybullet
IS-IT--Management
have the following:
As you can see, only link [4] is "external". How do I make it open in a new window?
tried:
linkURL[4]=" "target="_blank"";
linkURL[4]='" "target="_blank"';
linkURL[4]="" "target=_blank"";
and several other variations with no success - there has to be a way...
Thank you
Let them hate - so long as they fear... Lucius Accius
Code:
function linkDisplay() {
var links = new Array();
links[0]="View Your Report";
links[1]="Home Page";
links[2]="Why Choose A2Z?";
links[3]="Services";
links[4]="View Sample Report";
links[5]="FAQ";
links[6]="Standards of Practice";
links[7]="Code of Ethics";
links[8]="3 Mistakes to Avoid";
links[9]="Request Information";
links[10]="Free Home Hints";
links[11]="Useful Links";
links[12]="Email Us";
var linkURL = new Array();
linkURL[0]="hglogin.htm";
linkURL[1]="index.htm";
linkURL[2]="why.htm";
linkURL[3]="services.htm";
linkURL[4]="[URL unfurl="true"]http://www.homegauge.com/report/347961/";[/URL]
linkURL[5]="faq.htm";
linkURL[6]="sop.htm";
linkURL[7]="coe.htm";
linkURL[8]="mistakes.htm";
linkURL[9]="contactmain.htm";
linkURL[10]="homehintsreq.htm";
linkURL[11]="links.htm";
linkURL[12]="mailto:chris@a2zpa.com";
for (i=0; i<links.length; i++) {
document.write("<ul>"+links[i].link(linkURL[i])+"</ul>");
}
}
As you can see, only link [4] is "external". How do I make it open in a new window?
tried:
linkURL[4]=" "target="_blank"";
linkURL[4]='" "target="_blank"';
linkURL[4]="" "target=_blank"";
and several other variations with no success - there has to be a way...
Thank you
Let them hate - so long as they fear... Lucius Accius