Scusate ma non sono praticato.
Ho creato un sito ed ho inserito uno scroll per far scorrere le notizie in evidenza o news.
Tutto funziona perfettamente su internet explorer ma non su crome e firefox.
Come posso fare per ovviare al problema.
Aggiungo lo script inserito.
<style type="text/css">
#cmarquee02 {
HEIGHT: 19px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: visible; WIDTH: 4px
}
</style>
<script language="JavaScript1.2" type="text/javascript"><!--
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
var marqueewidth=100
var marqueeheight=5000
var speed=2
//Specify the marquee contents
var marqueecontents="<FONT SIZE=2 Face='Arial Black'><a href='infanzia regionale.html'>Graduatoria definitiva personale ATA 3^ fascia
</a></a>
<a href='pon.html'> GRADUATORIA PERSONALE DOCENTE 1^ 2^ E 3^ FASCIA
</a>
<a href='pon.html'>GRADUATORIA DEFINITIVA PON F1 IN REGIA
</a>
"
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
setTimeout("window.onresize=regenerate",450)
intializemarquee()
}
}
function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.w rite(marqueecontents)
document.cmarquee01.document.cmarquee02.document.c lose()
thelength=document.cmarquee01.document.cmarquee02. document.height
scrollit()
}
function scrollit(){
if (document.cmarquee01.document.cmarquee02.top>=thel ength*(-1)){
document.cmarquee01.document.cmarquee02.top-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.top=marque eheight
scrollit()
}
}
window.onload=regenerate2
// -->
</script>
--------------------------------------------------------------------------------------
<tr bordercolor="#000000" bgcolor="#00FFFF" class="Stile29">
<td height="25" bordercolor="#FFFFFF"><div align="center"><span class="Stile46">IN EVIDENZA</span></div></td>
</tr>
<tr bordercolor="#000000" bgcolor="#00FFFF" class="Stile29">
<td width="180" height="52" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><p align="center"></p>
<div align="left"><span class="Stile34">
<script language="JavaScript1.1" type="text/javascript">
<!--
if (document.all)
document.write('<marquee direction="up" scrollAmount='+speed+' style="width:'+marqueewidth+';height:'+marqueeheig ht+'">'+marqueecontents+'</marquee>')
// -->
</script>
</span></div></td>
</tr>