Necesito un Script (style type?) que haga cambiar de color un enlace al pasar el raton sobre ella, pero como una tabla -parecida a los foros, no del menu-. Gracias...
<font color="#990000" face="Verdana,Tahoma">Sushi & Piscosour[/CODE]
| |||
Re: Consulta facil... Esto es lo que necesitás? <pre> <html> <head> <title> New Document </title> <style type="text/css"> a {color:white;text-decoration:none;} td {background-color: green; color:white;} </style> <script language="JavaScript"> <!-- function cambio(item,bg){ item.style.backgroundColor = bg; } //--> </script> </head> <body bgcolor="#FFFFFF"> <table width="50%"> <tr> <td onMouseOver="cambio(this,'blue');" onMouseOut="cambio(this,'green');"> <a href="#">Este es un link</a></td> <td> este es un campo común</td> </tr> <tr> <td id="td1"> este es un campo común</td> <td onMouseOver="cambio(this,'blue');" onMouseOut="cambio(this,'green');"> <a href="#">Este es un link</a></td> </tr> </table> </body> </html> </pre> <hr noshade size=1 color="#000000"><img src="http://www.gograph.com/Images-8712/ClipArt/cat03.gif" height="50" border=0 align="absmiddle"> <font size="2" face="verdana" color="#000000">bet[/CODE] |