31/07/2006, 09:49
|
| | Fecha de Ingreso: julio-2004
Mensajes: 20
Antigüedad: 20 años, 6 meses Puntos: 0 | |
Bueno utilizo dreamweaver porque no tengo mucha idea de programación, pero pense que el explorer no permitia ningún tipo de contenido activo, ya que tengo otro javascript para mostrar un mensaje en la barra de estado copiado de una web que los suministra gratis y me ocurre lo mismo.
Te muestro una parte del código de un rollover:
<div align="center"><a href="presentacion.html" target="contenido" onMouseOver="MM_swapImage('presentacion','','../img/botonpresentacion2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../img/botonpresentacion1.gif" alt="Ir a la presentación" name="presentacion" width="96" height="30" border="0"></a></div>
El código para mostrar mensaje en la barra de estado es:
<script>
<!-- Hide from old browsers
// All you have to do is put another text in the variable message.
// Don't forget to break all lines with a ^
// When you do not place a ^ at the end of all the message, the
// message will not repeat
message = " ••• mensaje1 ••••••^" +
" ••• mensaje2 •••••^" +
" ••• mensaje3 ••••••^" +
" ••• mensaje4 ••••••^" +
" ••• mensaje5 ••••••^" +
"^"
scrollSpeed = 25
lineDelay = 1500
// Do not change the text below //
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
// Unhide -->
scrollText(0)
</script> |