Originariamente inviato da br1
Il problema sta nel link che clicchi per richiamare lo script... evidentemente non hai accodato al codice il blocco dell' href:
link
ciao
Se il java script è questo:
window.onload=function(){
if(!document.getElementById || !document.getElementsByTagName) return;
links=document.getElementById("minipics").getEleme ntsByTagName("a");
for(i=0;i<links.length;i++)
links[i].onclick=function(){Show(this);return(false)}
}
function Show(obj){
bigimg=document.getElementById("bigimage");
bigimg.src=obj.getAttribute("href");
smallimg=obj.getElementsByTagName("img")[0];
t=document.getElementById("titolo");
t.removeChild(t.lastChild);
t.appendChild(document.createTextNode(smallimg.tit le));
}
la function è questa ?
link

Rispondi quotando