Log in

View Full Version : Styling the 'Displaying the latest threads'


kyokushin4life
07-11-2006, 10:46 PM
Hi guys, I displayed the "latest active threads/posts" in my home index.php page. At the moment, it looks plain simple and ugly.
I was wondering if you guys can help modifing the looks of it, this is what I want it to look like.
http://img134.imageshack.us/img134/9223/untitled17py.jpg

This is the code I currently have.



<div> <script type="text/javascript" src="http://www.mysite.com/forums/external.php?type=js"></script>
<script language="" type="text/javascript">for (var x in threads) { document.writeln("<a href=\"http://www.mysite.com/forums/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (Posted By: "+threads[x].poster+")<br />"); }</script>
</div>



If anyone could help me with this that would be really great.