Hi,
I'm trying to display 10 of my latest threads into a page on my website. Enable External Javascript is on. I put this code into a HTML block on a test page on my website.
But all that is displayed on the page is the subject, "Latest Active Threads" - page: http://www.norml.ie/test-page
Could some please help with this please?
Regards,
Paddy
I'm trying to display 10 of my latest threads into a page on my website. Enable External Javascript is on. I put this code into a HTML block on a test page on my website.
Code:
[I][COLOR=#000080][FONT=inherit]<!-- show latest active threads -->[/FONT][/COLOR][/I] [COLOR=#008080][FONT=inherit]<table cellpadding=[COLOR=#0000FF][FONT=inherit]"6"[/FONT][/COLOR] cellspacing=[COLOR=#0000FF][FONT=inherit]"1"[/FONT][/COLOR] border=[COLOR=#0000FF][FONT=inherit]"0"[/FONT][/COLOR] width=[COLOR=#0000FF][FONT=inherit]"100%"[/FONT][/COLOR] align=[COLOR=#0000FF][FONT=inherit]"center"[/FONT][/COLOR]>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]<tbody>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]<tr>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]<td colspan=[COLOR=#0000FF][FONT=inherit]"2"[/FONT][/COLOR]>[/FONT][/COLOR] [COLOR=#008000][FONT=inherit]<a href=[COLOR=#0000FF][FONT=inherit]"search.php?do=getnew"[/FONT][/COLOR]>[/FONT][/COLOR]Latest Active Threads[COLOR=#008000][FONT=inherit]</a>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]</td>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]</tr>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]</tbody>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]<tbody>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]<tr>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]<td width=[COLOR=#0000FF][FONT=inherit]"100%"[/FONT][/COLOR]>[/FONT][/COLOR] [COLOR=#000080][FONT=inherit]<div>[/FONT][/COLOR] [COLOR=#800000][FONT=inherit]<script type=[COLOR=#0000FF][FONT=inherit]"text/javascript"[/FONT][/COLOR] src=[COLOR=#0000FF][FONT=inherit]"external.php?type=js"[/FONT][/COLOR]>[/FONT][/COLOR][COLOR=#800000][FONT=inherit]</script>[/FONT][/COLOR] [COLOR=#800000][FONT=inherit]<script language=[COLOR=#0000FF][FONT=inherit]""[/FONT][/COLOR] type=[COLOR=#0000FF][FONT=inherit]"text/javascript"[/FONT][/COLOR]>[/FONT][/COLOR] [I][COLOR=#000080][FONT=inherit]<!-- for (var x in threads) { document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (Posted By: "+threads[x].poster+")<br />"); } //-->[/FONT][/COLOR][/I] [COLOR=#800000][FONT=inherit]</script>[/FONT][/COLOR][COLOR=#000080][FONT=inherit]</div>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]</td>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]</tr>[/FONT][/COLOR] [COLOR=#008080][FONT=inherit]</tbody>[/FONT][/COLOR] [I][COLOR=#000080][FONT=inherit]<!-- show latest active threads -->[/FONT][/COLOR][/I] [COLOR=#008080][FONT=inherit]</table>[/FONT][/COLOR] [COLOR=#000080][FONT=inherit]<br />[/FONT][/COLOR]
Could some please help with this please?
Regards,
Paddy
Comment