Please advise... I have the following code to pull thread titles on a java feed...
Code:
<script type="text/javascript" src="http://www.majorfm.com/forum/external.php?type=js&forumids=118,119,120,121,122,123,124,125"></script>
<script type="text/javascript">
<!--
var max = 40;
if(threads.length < max) max = threads.length;
for(i = 0; i < max; i++)
{
if (threads[i].title.length > 31)
{ threads[i].title = threads[i].title.substring(0, 31) + '...'; }
document.writeln("<img border=\"0\" src=\"http://www.majorfm.com/images/news.gif\" width=\"11\" height=\"11\"><a href=\"http://www.majorfm.com/forum/showthread.php?t=" + threads[i].threadid + "\">" + threads[i].title + "</a> <br>");
}
//-->
</script>
However it only ever pulls 15 titles, i want atleast 40
How do i do this...
Please advise...