iBram
12-30-2006, 12:14 PM
Hi guys,
I'm having a rather annoying problem with this piece of code:
<body style="background-color:transparent" link="black" vlink="black" alink="black">
<font size="-1"><font face="Helvetica Neue, Helvetica"><!-- show latest active threads -->
<script type="text/javascript" src="http://www.macologist.org/external.php?type=js&forumids=12"></script>
<script language="" type="text/javascript">
<!--
for (x = 0; x < 10; x++)
{
document.writeln("<a href=\"http://macologist.org/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a><br />");
}
//-->
</script>
</font></font>
</body>
It is working without a problem as just code but i want to integrate it into a page using an iframe. The frame loads the page without a problem but the links that are generated by the script open within the iFrame. Normally i would just add target="_top" but this doesn't work with the bloody javascript :( Could you guys help me out please?
Thanks in advance!
I'm having a rather annoying problem with this piece of code:
<body style="background-color:transparent" link="black" vlink="black" alink="black">
<font size="-1"><font face="Helvetica Neue, Helvetica"><!-- show latest active threads -->
<script type="text/javascript" src="http://www.macologist.org/external.php?type=js&forumids=12"></script>
<script language="" type="text/javascript">
<!--
for (x = 0; x < 10; x++)
{
document.writeln("<a href=\"http://macologist.org/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a><br />");
}
//-->
</script>
</font></font>
</body>
It is working without a problem as just code but i want to integrate it into a page using an iframe. The frame loads the page without a problem but the links that are generated by the script open within the iFrame. Normally i would just add target="_top" but this doesn't work with the bloody javascript :( Could you guys help me out please?
Thanks in advance!