hi guys. for reasons i wont go into, im using an iFrame and displaying the last10.php file through as as when i tried to include it, it threw out other info on the page.
i want to set the links so that they load in the parent window. i tried adding target="_parent" to these lines..
Quote:
echo("<a href=\"$url/forumdisplay.php?forumid=$threads[forumid]\" style=\"color: $lc;\" >$threads[ftitle]</a>: ");
}
echo("<a href=\"$url/showthread.php?threadid=$threads[threadid]&goto=newpost\" style=\"color: $lc;\" title=\"$threads[title]\">$title</a></nobr></td>\n");
// last poster column?
if ($lastposter == "1") {
echo("<td bgcolor=\"$bc\" style=\"font-family:$f; font-size:$fs; color:$tc;\" align=\"center\"><a href=\"$url/member.php?action=getinfo&userid=$threads[userid]\" style=\"color: $lc;\">$threads[lastposter]</a></td>\n");
|
but it keeps giving an error. is it possible to use normal html in this code to link in a css file and apply custom classes as well as this link option?
*edit*
i worked it out :-) you cant use normal html, i had to use target=\"parent\" and then it worked