masterman2
10-29-2006, 08:06 AM
Hi
Does anybody know how to modify the external javascript code, to make the links open with target="_top".
The standard javascript code =
<!--
var max = 5;
if(threads.length < max) max = threads.length;
for(i = 0; i < max; i++)
{
document.writeln("<li><a href=\"http://www.mywebsite.com/showthread.php?t=" + threads[i].threadid + "\">" + threads[i].title + "</a></li>");
}
//-->
Hope someone can help.
:up:
Does anybody know how to modify the external javascript code, to make the links open with target="_top".
The standard javascript code =
<!--
var max = 5;
if(threads.length < max) max = threads.length;
for(i = 0; i < max; i++)
{
document.writeln("<li><a href=\"http://www.mywebsite.com/showthread.php?t=" + threads[i].threadid + "\">" + threads[i].title + "</a></li>");
}
//-->
Hope someone can help.
:up: