Mostrando Codigo - Javascript
EXPLICACION
Debemos modifivar las variables de los colores.
color1 - Estado normal
color2 - al pasar el mouse por encima.
Posteriormente modificar los enlaces.
Es importante que tu script se encuentre entre las etiquetas Head el resto del codigo entre las etiquetasbody
< head>
< script>
var color1 = "#FF0000"
var color2 = "#FF9900"
var movimiento = "7"
var a= '<style>' +
'A.enlace:link {' +
' color:' + color1+ ';' +
' text-decoration:none;' +
' padding:0 ' + movimiento+ ' 0 0;' +
' }' +
'A.enlace:visited {' +
' color:' + color1+ ';' +
' text-decoration:none;' +
' padding:0 ' + movimiento+ ' 0 0;}' +
'A.enlace:active {' +
' color:' + color1+ ';' +
' text-decoration:none;' +
' padding:0 ' + movimiento+ ' 0 0;' +
' }' +
'A.enlace:hover {' +
' color:' + color2+ ';' +
' text-decoration:underline overline;' +
' padding:0 0 0 ' + movimiento+ ';' +
' }' +
'</style>'
if ( document.all || document.getElementById ) {
document.write ( a)
}
</ script>
</ head>
< table border= "0" cellpadding= "1" cellspacing= "0" bgcolor= "#cc0000" >
< tr>
< td>
< table border= "0" cellpadding= "7" cellspacing= "0" bgcolor= "#cc0000" >
< tr>
< td bgcolor= "#ffffff" > < font face= "Arial" size= "2" color= "#cc0000" >
< a class = "enlace" href= "http://www.tutores.org" > Tutores.org </ a>< br>
& nbsp; < br>
< a class = "enlace" href= "http://www.Yahoo.com" > Yahoo.com </ a>< br>
& nbsp; < br>
< a class = "enlace" href= "http://www.Altavista.com" > Altavista.com </ a>< br>
& nbsp; < br>
< a class = "enlace" href= "http://www.tutores.org" target= "_blank" > Nueva ventana</ a>< br>
& nbsp; < br>
< a class = "enlace" href= "http://www.tutores.org" > Quinto enlace</ a>< br>
& nbsp; < br>
< a class = "enlace" href= "http://www.tutores.org" > Sexto enlace</ a>< br>
</ font> </ td>
</ tr>
</ table>
</ td>
</ tr>
</ table>
ENLACE AL CODIGO
Si quieres enlazar desde tu pagina a este codigo
COMENTARIOS
Aun no existe ningun comentario para este Codigo.