Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: return; coupled with new image functions - August 13, 1998 at 06:28:27

You are here: irt.org | BBS | Re: return; coupled with new image functions [This BBS is closed]

Posted by Jason Nugent on August 13, 1998 at 06:28:27:

In Reply to: return; coupled with new image functions posted by Seth on August 12, 1998 at 12:19:15:

: I'm trying to combine the return; function into my site that already has an image switching function. I need the image to not only switch on mouseover, but to return text at the bottom of the browser window. Could someone help?

You might want to try the following:

onMouseOver="rollIn ('imgName_');self.status='String of Text here';return true;"

and then define a function in your HEAD section of the HTML page that contains a function called rollIn that looks something like this:

function rollIn (imgName)
{
document[imgName].src = eval (imgName + "_on.src");
// where imageName_on.src is the src of the swapped image.
}

You can then reverse the process to go back out.

Hope that helps,

Jason
Follow-ups:

You are here: irt.org | BBS | Re: return; coupled with new image functions [This BBS is closed]

©2018 Martin Webb