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

BBS: Re: Mouseover effect and layers - July 30, 1998 at 06:08:30

You are here: irt.org | BBS | Re: Mouseover effect and layers [This BBS is closed]

Posted by Yvan Gagnon on July 30, 1998 at 06:08:30:

In Reply to: Re: Mouseover effect and layers posted by Martin Webb on July 29, 1998 at 07:01:18:

Okay, ... I tried creating the following function:
--------------------------------------------------------------------
function refresh ()
{
if ( (navigator.appName.lastIndexOf ('Netscape') != -1) &&
(navigator.appVersion >= '3.0')) {
document.layers['text1'].reload ();
document.layers['text2'].reload ();
document.layers['text3'].reload ();
document.layers['text4'].reload ();
document.layers['text5'].reload ();
document.layers['text6'].reload ();
document.layers['text7'].reload ();
document.layers['text8'].reload ();
document.layers['text9'].reload ();

}
}

---------------------------------------------------------------
.. and tried calling the function on "onMouseout", -- but it spits out the following error message:

document.layers["text1"].reload is not a function.

Did I just misunderstand you or something? This is for a site that's designed to work in Netscape communicator 4.5, .. so programming for the other browsers isn't an issue at this point. Think I could trouble you for a little more help?

p.s. Yes, .. those are the actual names of my layers
(text1, text2, etc..)

Thanks,
-- yvan


Follow-ups:

You are here: irt.org | BBS | Re: Mouseover effect and layers [This BBS is closed]

©2018 Martin Webb