jaydam
12-10-2007, 03:39 PM
Hi Guys,
i have added a "latest threads" html to my forums folder so that i can show the latest post on a website.
the latest post is in a iframe on our site and when we click the link for the post it opens the thread in the little iframe,
what i need is for the link to open the forums on a new page above this one.
this is the code i have used for the latest threads.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Latest Active Threads</title>
<style type="text/css">
<!--
body {
background-image: url(motm.gif);
}
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:link {
color: #999999;
}
a:visited {
color: #FFFFFF;
}
-->
</style></head>
<body>
<!-- show latest active threads -->
<table cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
</tbody>
<tbody>
<tr>
<td width="100%">
<div>
<script type="text/javascript" src="external.php?type=js"></script>
<script language="" type="text/javascript">
<!--
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 />");
}
//-->
</script></div></td>
</tr>
</tbody>
<!-- show latest active threads -->
</table>
<br />
</body>
</html>
if anyone can point me in the direction i need to go in i would be a very happy div :)
if you want to see the link i mean you can see it at www.dance-fm.co.uk/kokes and the link is bottom left area.
Thanks in advance.
--------------- Added 1197357771 at 1197357771 ---------------
any advances please?
i have added a "latest threads" html to my forums folder so that i can show the latest post on a website.
the latest post is in a iframe on our site and when we click the link for the post it opens the thread in the little iframe,
what i need is for the link to open the forums on a new page above this one.
this is the code i have used for the latest threads.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Latest Active Threads</title>
<style type="text/css">
<!--
body {
background-image: url(motm.gif);
}
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:link {
color: #999999;
}
a:visited {
color: #FFFFFF;
}
-->
</style></head>
<body>
<!-- show latest active threads -->
<table cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
</tbody>
<tbody>
<tr>
<td width="100%">
<div>
<script type="text/javascript" src="external.php?type=js"></script>
<script language="" type="text/javascript">
<!--
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 />");
}
//-->
</script></div></td>
</tr>
</tbody>
<!-- show latest active threads -->
</table>
<br />
</body>
</html>
if anyone can point me in the direction i need to go in i would be a very happy div :)
if you want to see the link i mean you can see it at www.dance-fm.co.uk/kokes and the link is bottom left area.
Thanks in advance.
--------------- Added 1197357771 at 1197357771 ---------------
any advances please?