
02/04/2002, 02:03
|
| | Fecha de Ingreso: enero-2002 Ubicación: Burgos, España
Mensajes: 116
Antigüedad: 23 años, 2 meses Puntos: 0 | |
Re: Icono ajeno en barra de direcciones. <html>
<head>
<link rel="stylesheet" href="css/menunn.css">
<title>Menú principal</title>
<script LANGUAGE="JavaScript">
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if ( (browserName == "Netscape" && browserVer >= 3) || (browserName == "Microsoft Internet Explorer" && browserVer >= 4) )version = "n3";
else version = "n2";
if (version == "n3") {
boton1on = new Image(26, 21);
boton1on.src = "welc2.gif";
boton1off = new Image(26, 21);
boton1off.src = "welc1.gif";
boton2on = new Image(26, 21);
boton2on.src = "cont2.gif";
boton2off = new Image(26, 21);
boton2off.src = "cont1.gif";
boton3on = new Image(26, 21);
boton3on.src = "enla2.gif";
boton3off = new Image(26, 21);
boton3off.src = "enla1.gif";
}
function img_act(imgName) {
if (version == "n3") {
imgOn = eval(imgName + "on.src");
document[imgName].src = imgOn;
}
}
function atras() {
history.go(-1)
}
function img_inact(imgName) {
if (version == "n3") {
imgOff = eval(imgName + "off.src");
document[imgName].src = imgOff;
}
}
function overTD(td,color){td.style.cursor='hand';td.bgColor =color;}
function outTD(td,color){td.style.cursor='default';td.bgCol or=color;}
function clickTD(td){td.children.tags('A')[0].click();}
</script>
</head>
<body BGCOLOR=...etc
===================================== Muchas gracias a todos
:) |