Log in

View Full Version : Marquee not Working Properly In Advanced_CMP Module


LEAD_WEIGHT
09-12-2005, 10:08 PM
I am having trouble working the marquee code out?
It makes the module double in size when you click on the controls?
Do I have to make it into java instead?



adv_portal_latesttopics

<!-- Latest Threads -->

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] <span class="smallfont"><strong>$vbphrase[latest_forum_topics]</strong></span></strong></span></td>
</tr>
</thead>
<tr>
<td class="$getbgrow" width="100%">
<MARQUEE name="crawl" id="crawl" behavior="scroll" align= "center" direction= "up" height="250" scrollamount= "2" scrolldelay= "70" onmouseover='this.stop()' onmouseout='this.start()'>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<if condition="$mods['modcol'] == 0">
<tr> <if condition="$vba_options['portal_threads_showicon']">
<td class="thead" width="5">&nbsp;</td>
</if>
<td class="thead" width="100%"><span class="smallfont">$vbphrase[title_username_date]</span></td>
<if condition="$show['lastpost']">
<td align="center" class="thead" nowrap="nowrap" width="25%"><span class="smallfont">$vbphrase[last_post]</span></td>
</if>
<td class="thead" width="15"><span class="smallfont">$vbphrase[replies]</span></td>
<td class="thead" width="15"><span class="smallfont">$vbphrase[views]</span></td>
<if condition="$vba_options['portal_threads_showforum']">
<td align="center" class="thead" width="10%"><span class="smallfont">$vbphrase[forum]</span></td>
</if> </tr>
</if>$threadbits
</table>
</MARQUEE>
<div align="center"><hr color="#0000FF" width="75%" size="1"><font size=1 color="#0000FF">Scroll Control:&nbsp;&nbsp;<a href="#" onclick="javascript:crawl.direction=='up'?crawl.direction=' down':crawl.direction='up';return false">
<img src="http://www.theundergroundsource.com/forums/images/buttons/reverse.gif" alt="Reverse Direction" border="0"></a>&nbsp;&nbsp;&nbsp;<a href="#" onclick="javascript:crawl.scrollAmount=crawl.scrollAmount/2;return false">
<img src="http://www.theundergroundsource.com/forums/images/buttons/collapse_alt.gif" alt="Slower" border="0"></a>&nbsp;&nbsp;&nbsp;<a href="#" onclick="javascript:crawl.scrollAmount=crawl.scrollAmount+2 ;return false">
<img src="http://www.theundergroundsource.com/forums/images/buttons/collapse_alt_collapsed.gif" alt="Faster" border="0"></a></font></div>
</td>
</tr>
</table>
<br />

<!-- End Latest Threads -->