Stigmata
Veteran Member
Posts: 3520 Reputation: 45
21 / /
Joined: Jul 2003
|
RE: JavaScript Help
code: function changepic ()
if (document.Image.src =="path to image a") {
document.Image.src = "path to image b";
}
else{
document.Image.src = "path to image a";
}
code: onclick="document.image.src = changepic(); return false;"
something like that?
This post was edited on 04-05-2005 at 04:36 PM by Stigmata.
|
|