|
Hi,
Thanks a lot. That seems to work but isn't
consistent. sometimes, if i reload the page a couple of times on netscape, i
still do see the layers appearing on top.
regards,
kit.
>>From: "Richard Bennett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]> Subject: Re: [Dynapi-Help] setting the visibility of layers Date: Monday, April 30, 2001 7:33 PM Hi,
I tried your example, but it seems to work fine on ns4.08 and ns4.7. the popup is only visible when mouseover the links. I have noticed in the past that setting z-index
values in NS4 can be
erratic, sometimes you have to set the value for both layers, (the one coming up, and the one staying the same) and sometimes you do setZIndex(+1), or -1. To economize your code a little, you could simply
move the layers off
screen, instead of hiding them. That would be this for layer a:
aLayer=new
DynLayer(null,-200,180,163,150,'',false);
aLayer.setHTML('blah blah'); this.document.addChild(aLayer) So the layer starts off-screen, and the
link:
<a href="#"
>A layer appears here</a> If you have a lot of these links you could also
just use one layer, and set
the new html content before moving into view. Cheers, Richard Bennett [EMAIL PROTECTED]
www.richardinfo.com (Everything running on, and ported to DynAPI2.51) visit the DynAPI homepage (and FAQ) :: http://dynapi.sourceforge.net/dynapi/index.php?menu=1 Browse (and search) the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.251 / Virus Database: 124 - Release Date: 4/26/2001 |
- [Dynapi-Help] setting the visibility of layers Kit Cheong
- Re: [Dynapi-Help] setting the visibility of layers Richard Bennett
- RE: [Dynapi-Help] setting the visibility of layers Digital Strider
- Kit Cheong
