Hi.
I appreciate your help.
My galleries worked perfectly, all of a sudden they don’t now. ?
The idea was to click on the pic and the title of the pic and author appears under it. The pic works OK, not the title.
The javascript is:
over = function() {
var sfEls = document.getElementById(“nav”).getElementsByTagName(“LI”);
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=” over”;
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(” over
}
}
}
if (window.attachEvent) window.attachEvent(“onload”, over);
function doPic(obj, url) {
document.images[‘mainpic’].src = url;
document.getElementById(‘maintitle’).innerHTML = obj.alt;
return true;
}
The table row:
<td><img src=”images/ediddiv/1/thumbs/d1.jpg” border=”0″ alt=””Golden Hills” – Anne ©”
onclick=”return doPic(this, ‘images/ediddiv/1/large/d1.jpg’)” /></td>
My website is: [url]http://www.a-p-s.org.au/edidgallery1.html
I don’t understand why it won’t work. By the way I’m not expert in scripting, I’ve required help with javascript before.
Thanks for your help if you can. ?