ich setze seit geraumer Zeit das phpbb2 Plus 1.3 ein. Dabei fiel mir nach Einbau der "Recent Topics" im Portal auf, daß unter IE6 beim MouseOver das Scrolling angehalten wird, unter Mozilla Firefox aber unbeirrt weiterläuft.
Für diejenigen, die es interessiert, hier die Codeänderung in templates/fisubsilversh/portal_body.tpl
Code: Alles auswählen
#
#-----[ AKTION: ÖFFNEN ]------------------------------------------
#
# templates/fisubsilversh/portal_body.tpl
#
#-----[ FINDE ]--------------------------------------------------
#
<table width="100%" cellpadding="2" cellspacing="2" border="0" class="forumline">
<tr>
<th>{L_RECENT_TOPICS}</th>
</tr>
<tr>
<td class="row1"><span class="gensmall">
<marquee id="recent_topics" behavior="scroll" direction="up" height="200" scrolldelay="100" scrollamount="2">
<!-- BEGIN recent_topic_row -->
<img src="templates/fisubsilversh/images/post_ind1_bl.gif"> <a href="{recent_topic_row.U_TITLE}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.L_TITLE}</a><br />
von <a href="{recent_topic_row.U_POSTER}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.S_POSTER}</a> am {recent_topic_row.S_POSTTIME}<br /><br />
<!-- END recent_topic_row -->
</marquee>
</span></td>
</tr>
</table>
<br />
#
#-----[ ERSETZE MIT ]--------------------------------------------------
#
<table width="100%" cellpadding="2" cellspacing="2" border="0" class="forumline">
<tr>
<th>{L_RECENT_TOPICS}</th>
</tr>
<tr>
<td class="row1"><span class="gensmall">
<marquee id="recent_topics" behavior="scroll" direction="up" height="200" scrolldelay="100" scrollamount="2">
<!-- BEGIN recent_topic_row -->
<img src="templates/fisubsilversh/images/post_ind1_bl.gif"> <a href="{recent_topic_row.U_TITLE}" onMouseOver="recent_topics.stop()" onMouseOut="recent_topics.start()">{recent_topic_row.L_TITLE}</a><br />
von <a href="{recent_topic_row.U_POSTER}" onMouseOver="recent_topics.stop()" onMouseOut="recent_topics.start()">{recent_topic_row.S_POSTER}</a> am {recent_topic_row.S_POSTTIME}<br /><br />
<!-- END recent_topic_row -->
</marquee>
</span></td>
</tr>
</table>
<br />
Innerhalb der marquee-Tags muß bei den Events "OnMouseOver" und "OnMouseOut" document.all. entfernt werden. Diese Objekt-Referenz wird nur vom IE unterstützt. Das Objekt kann aber anhand seiner Id recent_topics angesprochen werden. Somit kann auf "document.all." verzichtet werden.
Es wäre nett, wenn ein Opera-Nutzer überprüfen könnte, ob diese Änderung den gewünschten Effekt erzielt.
Gruß,
Spacefrog