Extern-Scrolling-Problem!
Verfasst: 15.02.2005 13:54
Wie schreibe ich folgenden Code um, sodass target=blank_ auch aktiv ist ? Also, ich möchte das die Links ein neues Fenster öffnen:
Entnommen ist nur das untere Teil hier, das Skript ist vom Author Euphoria.
Bitte um Rat und Hilfe
Code: Alles auswählen
// Outcome of the HTML
// Be carefull when you edit these!
print "<marquee id=\"recent_topics\" behavior=\"scroll\" direction=\"$scroll\" height=\"170\" scrolldelay=\"60\" scrollamount=\"2\" onMouseOver=\"document.all.recent_topics.stop()\" onMouseOut=\"document.all.recent_topics.start()\">
<table cellpadding='3' cellSpacing='2' width='350'><body bgcolor=6B7B8><font color=#ffaf00>";
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo "<tr valign='top'><td><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\"><font color=\"#ffaf00\"><b><a href=\"$urlPath/viewtopic.php?topic=$row[topic_id]&forum=$row[forum_id]\">" .
$row["topic_title"] .
"</td></tr></font>";
}
print "</table></marquee>";
// Free Result
mysql_free_result($result);
// Close the Connection
mysql_close($link);
?>
Bitte um Rat und Hilfe