R
Richard
Searching for one thing, I came across this little script found at
javascript.internet.com.
The sample they showed used tables.
A row of 4 thumbs, the big picture, then another row of thumbs.
Easily converts over to my project.
Your basic image swap but just a tad tidier I think.
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
ns3up = (browserName == "Netscape" && browserVer >= 3);
ie4up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 4);
function swap(imgName) {
if (ns3up || ie4up) {
imgOn = ("" + imgName);
document.thumbs.src = imgOn;
}
}
javascript.internet.com.
The sample they showed used tables.
A row of 4 thumbs, the big picture, then another row of thumbs.
Easily converts over to my project.
Your basic image swap but just a tad tidier I think.
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
ns3up = (browserName == "Netscape" && browserVer >= 3);
ie4up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 4);
function swap(imgName) {
if (ns3up || ie4up) {
imgOn = ("" + imgName);
document.thumbs.src = imgOn;
}
}