35
Try doing it this way:
<marquee direction="up" scrollamount="1" style="text-align:center;background-color:black;color:white;">
<{if $block.fadeImage != ""}>
<{literal}>
<script type="text/javascript">
<!--
nereidFadeObjects = new Object();
nereidFadeTimers = new Object();
function nereidFade(object, destOp, rate, delta){
if (!document.all) {
return;
}
if (object != '[object]'){
setTimeout('nereidFade('+object+','+destOp+','+rate+','+delta+')',0);
return;
}
clearTimeout(nereidFadeTimers[object.sourceIndex]);
diff = destOp-object.filters.alpha.opacity;
direction = 1;
if (object.filters.alpha.opacity > destOp){
direction = -1;
}
delta = Math.min(direction*diff,delta);
object.filters.alpha.opacity+=direction*delta;
if (object.filters.alpha.opacity != destOp){
nereidFadeObjects[object.sourceIndex]=object;
nereidFadeTimers[object.sourceIndex]=setTimeout('nereidFade(nereidFadeObjects['+object.sourceIndex+'],'+destOp+','+rate+','+delta+')',rate);
}
}
//-->
</script>
<{/literal}>
<{/if}>
<br/>
<table class="outer" cellspacing="1">
<{if $block.disp_mode == 0}>
<tr>
<th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_FORUM}></th>
<th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th>
<th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th>
<th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_VIEWS}></th>
<th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_LPOST}></th>
</tr>
<{foreach item=topic from=$block.topics}>
<tr class="<{cycle values="even,odd"}>">
<td><a href="<{$xoops_url}>/modules/newbb/viewforum.php?forum=<{$topic.forum_id}>"><{$topic.forum_name}></a></td>
<td><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>">
<{if $topic.topic_subject}>
<{$topic.topic_subject}>
<{/if}>
<{$topic.title}></a><{$topic.topic_page_jump}></td>
<td align="center"><{$topic.replies}></td>
<td align="center"><{$topic.views}></td>
<td align="right"><{$topic.time}><br /><{$topic.topic_poster}> <{$topic.jump_post}></td>
</tr>
<{/foreach}>
<{elseif $block.disp_mode == 1}>
<tr>
<th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th>
<th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th>
<th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_LPOST}></th>
</tr>
<{foreach item=topic from=$block.topics}>
<tr class="<{cycle values="even,odd"}>">
<td><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></td>
<td align="center"><{$topic.replies}></td>
<td align="right"><{$topic.time}><br /><{$topic.topic_poster}> <{$topic.jump_post}></td>
</tr>
<{/foreach}>
<{elseif $block.disp_mode == 2}>
<{foreach item=topic from=$block.topics}>
<tr class="<{cycle values="even,odd"}>">
<td><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></td>
</tr>
<{/foreach}>
<{/if}>
</table>
</marquee>
<{if $block.indexNav}>
<div style="text-align:right; padding: 5px;">
<a href="<{$xoops_url}>/modules/newbb/viewpost.php"><{$smarty.const._MB_NEWBB_ALLPOSTS}></a> |
<a href="<{$xoops_url}>/modules/newbb/viewall.php"><{$smarty.const._MB_NEWBB_ALLTOPICS}></a> |
<a href="<{$xoops_url}>/modules/newbb/"><{$smarty.const._MB_NEWBB_VSTFRMS}></a>
</div>
<{/if}>
You just opened these tags at the beginning:
<center><table cellspacing="0" align="center">
<tr>
<td align="center">
and did not close them at the end. I've deleted them from my version. Notice that I have moved the closing marquee tag several lines up. That way the navigation line 'Posts | Topics | Forums' will stay visible all the time (if you have set them to be showed).
Btw, I don't think the fade in /fade out image script will work on Firefox.
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.