Vi prego ditemi come posso fare ad applicare questo effetto a + di un link!!!
http://www.html.it/jscript/grafica/grafica03.htm
Ci sto diventando matto. HO provato in diversi modi ma senza successo. Ho provato a mettere lo script anzichè nell'head nei singoli punti in cui volevo inserire i pulsanti; a creare delle variabili che facessero cambiare nome all'immagine così:
<html>
<head>
<meta http-equiv="Content-Language" content="it">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Frame_link</title>
<SCRIPT LANGUAGE = "JavaScript">
<!--
window.onerror=null;
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if(browserName=="Netscape" && browserVer >= 3) ver = "yes";
else ver = "yes";
if(ver == "yes") {
nome1 = new Image(); nome1.src = img1.src;
nome2 = new Image(); nome2.src = img2.src;
}
function active(imgName)
{
if (ver == "yes") {
img1 = eval(imgName + "1.src");
document [imgName].src = img1;
}}
function inactive(imgName){
if (ver == "yes") {
img2 = eval(imgName + "2.src");
document [imgName].src = img2;
}}
// -->
</SCRIPT>
</head>
<body bgcolor="#FFCC66">
</p>
</p>
</p>
</p>
<A HREF="java34.htm" onMouseover = "inactive('nome');window.status='Agriturismo Ulivo in fiore'" onMouseout = "active('nome')">
[img]home_link_a.bmp[/img]
</A>
ma senza successo!!!
Per favore datemi una mano!
Grazie.

Rispondi quotando
