Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/09/2009, 11:53
Avatar de citaem
citaem
 
Fecha de Ingreso: agosto-2005
Mensajes: 218
Antigüedad: 18 años, 7 meses
Puntos: 0
Respuesta: Menu MArquesina Controlada

Hola abimaelrc:

Intente colocarte el codigo pero algo no me fue posible, pero aqui esta:

lo que deberia hacer es:

al colcoarse sobre "arriba".
  1. iniciar el movimiento de la marquesina
  2. direccion up (hacia arriba)

al salir de "arriba".
  1. detener el movimiento

lo mismo en el caso de "abajo", solo con dirección down (hacia abajo)

De antemano GRACIAS...

<html>
<head>
<title>::: Prueba Menu :::</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table width="11%" border="4" cellspacing="0" cellpadding="0">
<tr>
<td onMouseOver='javascript:MenuArriba()' onMouseOut="javascript:MenuDetener()" bgcolor="#CC0000">arriba</td>
</tr>
<tr>
<td height="500">
<!--marquee direction="down" scrolldelay="200" height="100%" onmouseover="stop()" onmouseout="start()" id="marque1"-->
<marquee direction="down" scrolldelay="100" height="100%" onmouseover="stop()" onmouseout="start()" id="marque1">
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td height="42" onMouseOver='this.style.background="#729FCF"' onMouseOut='this.style.background=""'>UNO</td>
</tr>
<tr>
<td height="42" onMouseOver='this.style.background="#729FCF"' onMouseOut='this.style.background=""'>DOS</td>
</tr>
<tr>
<td height="42" onMouseOver='this.style.background="#729FCF"' onMouseOut='this.style.background=""'>TRES</td>
</tr>
<tr>
<td height="42" onMouseOver='this.style.background="#729FCF"' onMouseOut='this.style.background=""'>CUATRO</td>
</tr>
<tr>
<td height="42" onMouseOver='this.style.background="#729FCF"' onMouseOut='this.style.background=""'>CINCO</td>
</tr>
<tr>
<td height="42" onMouseOver='this.style.background="#729FCF"' onMouseOut='this.style.background=""'>SEIS</td>
</tr>
<tr>
<td height="42" onMouseOver='this.style.background="#729FCF"' onMouseOut='this.style.background=""'>SIETE</td>
</tr>
<tr>
<td height="42" onMouseOver='this.style.background="#729FCF"' onMouseOut='this.style.background=""'>OCHO</td>
</tr>
</table>
</marquee> </td>
</tr>
<tr>
<td onMouseOver='javascript:MenuAbajo()' onMouseOut="javascript:MenuDetener()" bgcolor="#009933">abajo</td>
</tr>
</table>

</body>
</html>

<script>

function MenuArriba()
{
document.getElementById('marque1').start();
document.getElementById('marque1').direction = "up"; }

function MenuAbajo()
{
document.getElementById('marque1').start();
document.getElementById('marque1').direction = "down"; }

function MenuDetener()
{
document.getElementById('marque1').stop();
}
</script>