msimonds
4th February 2004, 07:32 PM
does anyone know how I can use my css from my home page to use in conjunction with feed for the latest forum posts so i can place it within a cell on my new homepage
http://www.sportsrant.com/test.htm
Here is the code:
<script type="text/javascript" src="/forums/external.php?type=js"></script>
<script type="text/javascript">
<!--
for (i = 0; i < 10; i++)
{
if (threads[i].title.length > 20)
{ threads[i].title = threads[i].title.substring(0,20) + '...'; }
document.writeln("<li><a href=\"http://www.sportsrant.com/forums/showthread.php?t=" + threads[i].threadid + "\">" + threads[i].title + "</a> by: <a href=\"http://www.sportsrant.com/forums/member.php?u="+threads[i].poster+"\ (http://www.sportsrant.com/forums/member.php?u=)">" + threads[i].poster + "</a></li>");
}
//-->
</script>
Thanks in advance
Mike
http://www.sportsrant.com/test.htm
Here is the code:
<script type="text/javascript" src="/forums/external.php?type=js"></script>
<script type="text/javascript">
<!--
for (i = 0; i < 10; i++)
{
if (threads[i].title.length > 20)
{ threads[i].title = threads[i].title.substring(0,20) + '...'; }
document.writeln("<li><a href=\"http://www.sportsrant.com/forums/showthread.php?t=" + threads[i].threadid + "\">" + threads[i].title + "</a> by: <a href=\"http://www.sportsrant.com/forums/member.php?u="+threads[i].poster+"\ (http://www.sportsrant.com/forums/member.php?u=)">" + threads[i].poster + "</a></li>");
}
//-->
</script>
Thanks in advance
Mike