|
-
Jun 21st, 2001, 05:22 PM
#1
Thread Starter
Member
Whats wrong with this?
var pageName;
var imageName;
var clean=1;
if (document.images) {
arcovr = new Image(); arcovr.src = "images/archive2.jpg";
arcoff = new Image(); arcoff.src = "images/archive1.jpg";
picovr = new Image(); picovr.src = "images/picture2.jpg";
picoff = new Image(); picoff.src = "images/picture1.jpg";
grovr = new Image(); grovr.src = "imagess/graphic2.jpg";
groff = new Image(); groff.src = "images/graphic1.jpg";
miscovr = new Image(); miscovr.src = "images/misc2.jpg";
miscoff = new Image(); miscoff.src = "images/.misc1.jpg";
}
function Point( imageName ) {
if ( document.images ) {
document[ imageName ].src = eval(imageName + "ovr.src");
}
}
function noPoint( imageName ) {
if ( document.images ) {
document[ imageName ].src = eval(imageName + "off.src");
}
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|