<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[js alternativo al tag marquee]]></title><description><![CDATA[<p dir="auto">salve esperti di js, avrei bisogno di un scriptino per far scorrere i titoli degli ultimi topic del forum sulla homepage, il tag marquee che utilizzo mi ha incasinato la validazione w3c.</p>
<p dir="auto">c'è qualcosa di simile ?</p>
]]></description><link>https://connect.gt/topic/76811/js-alternativo-al-tag-marquee</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 13:39:17 GMT</lastBuildDate><atom:link href="https://connect.gt/topic/76811.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Jul 2008 08:19:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to js alternativo al tag marquee on Sun, 20 Jul 2008 20:48:40 GMT]]></title><description><![CDATA[<p dir="auto">grazie a entrambi, alla fine avevo trovato questo</p>
<p dir="auto">js</p>
<pre><code>&lt;script type="text/javascript"&gt;
var delayb4scroll=1000 //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)&gt;(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()",30)', delayb4scroll)
}
if (window.addEventListener)
window.addEventListener("load", initializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarquee)
else if (document.getElementById)
window.onload=initializemarquee
&lt;/script&gt;
</code></pre>
<p dir="auto">[HTML]&lt;div id="marqueecontainer" onmouseover="copyspeed=pausespeed" onmouseout="copyspeed=marqueespeed"&gt;<br />
&lt;div id="vmarquee" style="position: absolute; width: 98%;"&gt;<br />
&lt;!--YOUR SCROLL CONTENT HERE--&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;[/HTML]</p>
]]></description><link>https://connect.gt/post/737277</link><guid isPermaLink="true">https://connect.gt/post/737277</guid><dc:creator><![CDATA[supercapocc]]></dc:creator><pubDate>Sun, 20 Jul 2008 20:48:40 GMT</pubDate></item><item><title><![CDATA[Reply to js alternativo al tag marquee on Tue, 15 Jul 2008 09:55:21 GMT]]></title><description><![CDATA[<p dir="auto">guarda anche questo:<br />
<a href="http://javascript.html.it/script/vedi/4851/lisroll-ticker/" rel="nofollow ugc">http://javascript.html.it/script/vedi/4851/lisroll-ticker/</a></p>
]]></description><link>https://connect.gt/post/737276</link><guid isPermaLink="true">https://connect.gt/post/737276</guid><dc:creator><![CDATA[digital.daigor]]></dc:creator><pubDate>Tue, 15 Jul 2008 09:55:21 GMT</pubDate></item><item><title><![CDATA[Reply to js alternativo al tag marquee on Sun, 13 Jul 2008 16:59:25 GMT]]></title><description><![CDATA[<p dir="auto">prova a mettere il codice marquee dentro un js e stampalo a video, non ti da errori di validazione</p>
]]></description><link>https://connect.gt/post/737282</link><guid isPermaLink="true">https://connect.gt/post/737282</guid><dc:creator><![CDATA[khendall]]></dc:creator><pubDate>Sun, 13 Jul 2008 16:59:25 GMT</pubDate></item></channel></rss>