|    
			
				08/04/2002, 19:36
			
			
			  | 
  |   |  |  |  Fecha de Ingreso: abril-2002 
						Mensajes: 4
					 Antigüedad: 23 años, 6 meses Puntos: 0 |  | 
  |  TEXTO sobre onmouseover  
  Tengo dos botones, "a" y "b" como onmousover, debo hacer visible siempre un texto diferente sobre cada boton
 usando Arial 10 en Negrita... Que el botón "a" diga Prueba1 y el "b" Prueba2 con un Javascript...
 como podría adaptar texto sobre
 este simple script que intercambia imágenes al pasar el mouse ???
 Desde ya muy agradecido al que sepa como hacerlo !!! Gustaf_
 
 
 
 <html>
 
 <head>
 
 <script language="javascript1.1">
 <!--
 a1=new Image(170,30)
 a1.src="out.jpg"
 a2=new Image(170,30)
 a2.src="in3.jpg"
 
 b1=new Image(170,30)
 b1.src="out.jpg"
 b2=new Image(170,30)
 b2.src="in3.jpg"
 
 function filter(imagename,objectsrc){
 if (document.images)
 document.images[imagename].src=eval(objectsrc+".src")
 }
 //-->
 </script>
 
 </head>
 
 <body>
 
 <a href="prueba1.html"
 onmouseover="filter('a3','a2')"
 onmouseout="filter('a3','a1')">
 <img src="out.jpg" name="a3" border=0 width=170 height=30>
 </a>
 
 <p>
 
 <a href="prueba2.html"
 onmouseover="filter('b3','b2')"
 onmouseout="filter('b3','b1')">
 <img src="out.jpg" name="b3" border=0 width=170 height=30>
 </a>
 
 </p>
 
 </body>
 
 </html>
     |