I'm using the following code and havn't faced any problem as yet.
If you do have any additional information that could be of use, please do
let me know.
As for the code, you have to call the init() in the onLoad event.
Rest of it works fine.
function init()
{
if (navigator.appName == "Netscape")
{
layerStyleRef="layer.";
layerRef="document.layers";
styleSwitch="";
}
else
{
layerStyleRef="layer.style.";
layerRef="document.all";
styleSwitch=".style";
}
}
function showLayer(layerName)
{
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
}
function hideLayer(layerName)
{
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
}
----- Original Message -----
From: Michael <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 17, 2000 11:34 AM
Subject: Re: Hiding a link on html generated page.
> Be careful with style sheets, support for them is questionable. For
example,
> while the next version of Explorer for MacItosh will completely support
> CSS1, the version for Windows does not.
>
>
> ----- Original Message -----
> From: Cherag Irani <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, April 17, 2000 12:12 AM
> Subject: Re: Hiding a link on html generated page.
>
>
> > This is possible using <div>
> > Here you can specify the visibility of the division to be either visible
> or
> > hidden.
> > This is done using style sheets.
> > Then using javascript you can write a function that changes the
visibility
> > of this layer on the onMouseOver event.
> > Try it out.
> > Should help.
> > Any better idea, please let me know.
> > Regards
> > Cherag
> >
> > P.S. If you still do need the code, let me know.
> > ----- Original Message -----
> > From: blueads.com <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, April 15, 2000 4:00 PM
> > Subject: Hiding a link on html generated page.
> >
> >
> > > I have a servlet that generates an html page with an
underlined
> > link on it.
> > > For example: http://somewhere/12345 I would like to hide this link
from
> > > appearing at the bottom of the browser when the cursor goes over the
> link
> > > and it turns into a hand. Is there a way to do it?
> > >
> > > Tom K.
> > >
> > >
> >
>
___________________________________________________________________________
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > > of the message "signoff SERVLET-INTEREST".
> > >
> > > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > > Resources:
http://java.sun.com/products/servlet/external-resources.html
> > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> > >
> >
> >
>
___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
> >
> >
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html