Guest_imported
New member
- Jan 1, 1970
- 0
I have inserted a javascript to start a game. This is the script:
<!--
if (navigator.appName === "Netscape"
{
document.write ("<a href=tetrisNN2.html><b>Geavanceerde Tetris</b></a>"
document.write ("&nbsp &nbsp(U gebruikt Netscape Navigator)"
}
else
if (navigator.appName === "Microsoft Internet Explorer"
{
document.write ("<a href=tetrisIE2.html><b>Geavanceerde Tetris</b></a>"
document.write ("&nbsp &nbsp(U gebruikt Internet Explorer)"
}
else
document.write ("<br />U moet Netscape of IE als browser hebben om Geavanceerde Tetris te kunnen spelen<"
//-->
Now what I want to do is the following: I want to open a new window when the person clicks on the link to the game. I've already tried to insert 'target="_blank"' into the a href tag but that doesn't work. How do I do this
<!--
if (navigator.appName === "Netscape"
{
document.write ("<a href=tetrisNN2.html><b>Geavanceerde Tetris</b></a>"
document.write ("&nbsp &nbsp(U gebruikt Netscape Navigator)"
}
else
if (navigator.appName === "Microsoft Internet Explorer"
{
document.write ("<a href=tetrisIE2.html><b>Geavanceerde Tetris</b></a>"
document.write ("&nbsp &nbsp(U gebruikt Internet Explorer)"
}
else
document.write ("<br />U moet Netscape of IE als browser hebben om Geavanceerde Tetris te kunnen spelen<"
//-->
Now what I want to do is the following: I want to open a new window when the person clicks on the link to the game. I've already tried to insert 'target="_blank"' into the a href tag but that doesn't work. How do I do this