Código: Selecionar todos
var marqueespeed=1 //Specify marquee scroll speed (larger is faster 1-10)Tentei usar 0,5 - 0.5 - -5 e etc e nada resolveu.
Alguem sabe como resolver isso?
Colocarei todo o codigo abaixo:
Código: Selecionar todos
<style type="text/css">
#marqueecontainer{
position: relative;
width: 100%; /*marquee width */
height: 200px; /*marquee height */
background-color: transparent;
overflow: hidden;
border: noborder;
padding: 2px;
padding-left: 4px;
}
</style>
<script type="text/javascript">
var delayb4scroll=2000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var marqueespeed=1 //Specify marquee scroll speed (larger is faster 1-10)
var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?
////NO NEED TO EDIT BELOW THIS LINE////////////
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var actualheight=''
function scrollmarquee(){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
cross_marquee.style.top=0
marqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=cross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marquee.style.height=marqueeheight+"px"
cross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("scrollmarquee()",10)', delayb4scroll)
}
if (window.addEventListener)
window.addEventListener("load", initializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarquee)
else if (document.getElementById)
window.onload=initializemarquee
</script>
<div class="forabg">
			<div class="inner"><span class="corners-top"><span></span></span>
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
					<!-- BEGIN lp_config -->
					  <!-- IF lp_config.LP_AVATAR --><dd style="text-align:center; width: 40px;"></dd><!-- ENDIF -->
					  <dt>{L_LP_TITLE}</dt>
                      <dd class="posts"><!-- IF lp_config.LP_AVATAR --><!-- ELSE -->{L_REPLIES}<!-- ENDIF --></dd>
 					  <dd class="views">{L_VIEWS}</dd>
                      <dd class="lastpost"><span>{L_LP_REPLY_TITLE}</span></dd>
					<!-- END lp_config -->
					</dl>
				</li>
			</ul>
			<ul class="topiclist forums">
            
 	<div id="marqueecontainer" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">
		<div id="vmarquee" style="position: relative; width: 99%;">
        
        <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
        
        <!-- BEGIN latest_topics -->
        
        <li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_UNREAD_TOPIC --><!-- IF topicrow.S_ROW_COUNT is even --> bg4<!-- ELSE --> bg4<!-- ENDIF --><!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
				
			<!-- IF latest_topics.LP_AVATAR --><dl class="icon"><!-- ELSE -->
			<dl class="icon" style="background-image:<!-- IF topicrow.S_UNREAD_TOPIC -->url(./styles/prosilver/imageset/announce_unread.gif);<!-- ELSE -->url(./styles/prosilver/imageset/announce_read.gif);<!-- ENDIF --> background-repeat: no-repeat;"><!-- ENDIF -->
            	<!-- IF latest_topics.LP_AVATAR --><dd style="text-align:center; width: 40px;"><!-- IF latest_topics.LP_POSTER_AVATAR -->{latest_topics.LP_POSTER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" height="40" width="40" alt="" /><!-- ENDIF --></dd><!-- ENDIF -->
				
				<dt style=""><a href="{latest_topics.LP_U_VIEW_TOPIC}" class="topictitle">{latest_topics.LP_FULL_TITLE}</a><br />  {L_LP_CREATED_BY} {latest_topics.LP_TOPIC_STARTER} {L_LP_POSTEDON} <em>{latest_topics.LP_TOPIC_POSTTIME} </em> 
                </dt>
                <dd class="posts"><!-- IF latest_topics.LP_AVATAR --><!-- IF latest_topics.LP_TOPIC_POSTER_AVATAR -->{latest_topics.LP_TOPIC_POSTER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" height="40" width="40" alt="" /><!-- ENDIF --><!-- ELSE -->{latest_topics.LP_T_REPLIES} <dfn>{L_REPLIES}</dfn><!-- ENDIF --></dd>
				<dd class="views">{latest_topics.LP_T_VIEWS} <dfn>{L_VIEWS}</dfn></dd>
				<dd class="lastpost"><span><dfn> {L_LP_REPLY} </dfn> <!-- IF latest_topics.LP_TITLE_REPLY --><a href="{latest_topics.LP_U_VIEW_TOPIC}">{L_LP_REPLY} {latest_topics.LP_TITLE_REPLY}</a> <br /><!-- ENDIF -->{L_LP_BY} {latest_topics.LP_TOPIC_LASTPOSTBY} <a href="{latest_topics.LP_U_VIEW_TOPIC}">{LAST_POST_IMG}</a> <br />{L_LP_POSTEDON} {latest_topics.LP_TOPIC_LASTPOSTTIME}</span>
				</dd>
			</dl>
		</li>
        
        <!-- END latest_topics -->
        
        </div>
	</div>
		  </ul>
		<span class="corners-bottom"><span></span></span></div>
	</div>         
<br clear="all" />



