-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of sjb
Sent: 29 March 2002 11:57
To: dynapi-help Mailing list
Subject: Re: [Dynapi-Help] forms and flash bug
[ I've re-sent this as the first message was flagged as being too large
because of the attached image - apologies if it turns up twice now ]
Matthew Bull wrote:
> there is one way around this for embeds that is if you have a
> iverlapping layer you need to set the style.display to none
> and the back to block when our overlapping layer (menu,
> dropdown list etc) goes away.... interesting
Could you elaborate on the "style.display" comment? I'm not entirely
sure what you mean by this ;-)
..see below code fragment
plapplet=document.getElementById("plApplet"); <<<get applet objects
barsapplet=document.getElementById("barsApplet"); <<<again
state=this.menu.visible?false:true; <<<get current menu
state for toggle
this.menu.setVisible(state); <<<set the menu
visibility
if(this.x<300) { <<<work out
the overlap
plapplet.style.display=state?'none':'block'; <<<set style.display
property
}
thats probably about as clear as a bucket of mud but basically sets the
applets css display property to none of its overlayed so hence it disappears
but it doesn't upset the table layouts etc (least not in IE or Moz), I did
try to use visibility but didn't seem to work 8^(
hope this helps
Matt
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help