PDA


View Full Version : How Do I Make Scroll Controls Stay Stationary


LEAD_WEIGHT
08-29-2005, 02:55 AM
How do I make scroll controls stay stationary at bottom of modules.
I tried other formats of this but it stretchs or the controls do not stay at bottom.



<!-- 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%">
<A name="crawl"></A><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>
<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';ret urn 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>
</MARQUEE>
</td>
</tr>
</table>
<br />

<!-- End Latest Threads -->



Trying to place image on outside bottom left of module


<tr>
<td width="100%" align="left" valign="top"><img src="http://www.theundergroundsource.com/forums/images/shadow.gif" border="0" id="tdftopics"></td>
</tr>


This is what it should look.
http://img383.imageshack.us/img383/4255/test3tf.png

Brian
08-29-2005, 09:17 AM
Try moving the div tag with your images outside of the <marquee> tag maybe?

LEAD_WEIGHT
08-30-2005, 05:00 PM
Ok, now I have it sorta working but when ever I click on the reverse controls it doubles the height of module and leaves it blank on top 250px and scrolls
info in the bottom 250px half, so in total it created another 250px in height of blank space. How do I fix it so it does not do that?


<!-- 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';ret urn 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 -->

LEAD_WEIGHT
09-12-2005, 07:12 PM
Do I have to make it javascript instead of marquee? I like to know if I am doing something wrong on this.