View Single Post
  #14  
Old 28 Jun 2010, 03:05
twitch's Avatar
twitch twitch is offline
 
Join Date: Apr 2005
Originally Posted by mmoore5553 View Post
no problem ..i am using version 3.8 on my forum but i do not think code will be too different


Okay here is the correct syntax for vb 4 (tested and works)

<script type="text/javascript" src="http://www.url.com/forum/external.php?type=js&lastpost=1&forumid=0"></script>
<script type="text/javascript">
<!-- Start
for(x = 0; x < 10; x++)
{
document.writeln("<p><a href=\"http://www.url.com/forum/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a><br><span class=\"copytext\"> (posted by <i>"+threads[x].poster+")</i></span></p>");
}
//-->
</script>
Thanks! Awesome
Reply With Quote