Seite 1 von 1

Extern-Scrolling-Problem!

Verfasst: 15.02.2005 13:54
von happyspeedy
Wie schreibe ich folgenden Code um, sodass target=blank_ auch aktiv ist ? Also, ich möchte das die Links ein neues Fenster öffnen:

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);
?>
Entnommen ist nur das untere Teil hier, das Skript ist vom Author Euphoria.

Bitte um Rat und Hilfe

Verfasst: 15.02.2005 19:34
von happyspeedy
Kann denn keiner helfen :cry:

Verfasst: 16.02.2005 08:51
von happyspeedy
Kann mir denn keiner mitteilen, wie ich einen target=blank_ in PHP einbaue, im folgenden Code:

Code: Alles auswählen

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()\">
Er müsste glaube ich ganz nach hinten, aber dazu würde ich gerne wissen, wie das in PHP geschrieben lauten würde. Ich lese ja es aus meinem PHPBB-Forum raus. :)

Verfasst: 16.02.2005 10:20
von happyspeedy
Hat sich erledigt, Thema kann geschlossen werden.