danyz81
10-26-2009, 03:20 PM
Hello!
I'm using a script code for show the last threads on an external html page.
Work well, the problem is that the IE Console show me a error messages with:
line: 3360 'threads[...].threadid' is null or not a object
This is a part of the code script on the footer of my style:
<div class="lthds"><!-- BEGIN LATEST THREAD CODE -->
<script type="text/javascript" src="external.php?forumids=2,286,13,14,302,282,284,17,1 6,280,281,277,278,283,270,299,271,274,275,276&type=js"></script>
<script language="" type="text/javascript">
<!--
for (x = 0; x < 10; x++)
{
document.writeln("<p><a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (by: "+threads[x].poster+")</p>");
}
//-->
</script>
<br />
<!-- END LATEST THREAD CODE --></div>
Any help?
Thanks in advance,
Daniele.
I'm using a script code for show the last threads on an external html page.
Work well, the problem is that the IE Console show me a error messages with:
line: 3360 'threads[...].threadid' is null or not a object
This is a part of the code script on the footer of my style:
<div class="lthds"><!-- BEGIN LATEST THREAD CODE -->
<script type="text/javascript" src="external.php?forumids=2,286,13,14,302,282,284,17,1 6,280,281,277,278,283,270,299,271,274,275,276&type=js"></script>
<script language="" type="text/javascript">
<!--
for (x = 0; x < 10; x++)
{
document.writeln("<p><a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (by: "+threads[x].poster+")</p>");
}
//-->
</script>
<br />
<!-- END LATEST THREAD CODE --></div>
Any help?
Thanks in advance,
Daniele.