tengo una duda sobre este codigo de una web q estoy haciendo...
lo q en teoria deberia hacer y lo hace a la perfeccion con firefox es acelerar la velocidad de la marquee cambiando el valor del srollamount cuando se tocan las flechitas (<>) de los costados...el problema es q con iexplorer no modifica la velocidad de la marquee solo modifica la direccion q es otra cosa q deberia hacer y efectivamente lo hace con ambos clientes...
el codigo es el siguiente:
Código:
<SCRIPT LANGUAGE=JavaScript>
<!--
function tito() {
var puntero=document.getElementById('fotomar');
var an=puntero.getAttribute('SCROLLAMOUNT');
var dir=puntero.getAttribute('direction');
if (dir!="right")
{
puntero.setAttribute('direction','right');
}
var dp=an+1;
puntero.setAttribute('SCROLLAMOUNT',dp);
}
function titox() {
var puntero=document.getElementById('fotomar');
puntero.setAttribute('SCROLLAMOUNT','5');
}
function titor() {
var puntero=document.getElementById('fotomar');
var an=puntero.getAttribute('SCROLLAMOUNT');
var dir=puntero.getAttribute('direction');
if (dir!="left")
{
puntero.setAttribute('direction','left');
}
var dp=an+1;
puntero.setAttribute('SCROLLAMOUNT',dp);
}
// -->
</SCRIPT>
</head>
<body>
<center>
<table>
<tr>
<td id="tt" onmouseover="titor()" onmouseout="titox()"><</td>
<td id="fot"><marquee direction="right" width="600"id="fotomar" SCROLLAMOUNT="5"><a href="f1.htm" target="fot" BORDER="0"><img src="100_3622.jpg" border=0/></a><a href="f2.html" target="fot" BORDER="0"><img src="100_3619.jpg" border=0/></a></marquee></td>
<td id="tt" onmouseover="tito()" onmouseout="titox()">></td></tr></table>
</center>
alguien me puede ayudar con esto?