You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by groffhibbitz <gr...@yahoo.com> on 2008/10/14 22:42:59 UTC

Open Modal Dialog at specific position on screen (not center)

Hi, I'm running into a problem where my modal dialog is popping up, but being
covered by a flash component that is on the page.  The z-index seems to have
nothing to do with this, as I can set the z-index of my flash component to
-9999 and z-index of the modal to 20001. All I want to do to solve this is
not pop up the modal dialog in the center of the page (which is where the
flash component is) but instead pop it up right above where the button I
click is that opens it.

Can I call a javascript function to move the modal once it has been shown?
-- 
View this message in context: http://www.nabble.com/Open-Modal-Dialog-at-specific-position-on-screen-%28not-center%29-tp19981773p19981773.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Open Modal Dialog at specific position on screen (not center)

Posted by Daniel Frisk <da...@jalbum.net>.
Hi!

You have to set the parameter wmode="opaque" in your flash-object tag.  
That will make it a part of normal z-ordering.

http://www.communitymx.com/content/source/E5141/wmodeopaque.htm

// Daniel
jalbum.net


On 2008-10-14, at 22:42, groffhibbitz wrote:

>
> Hi, I'm running into a problem where my modal dialog is popping up,  
> but being
> covered by a flash component that is on the page.  The z-index seems  
> to have
> nothing to do with this, as I can set the z-index of my flash  
> component to
> -9999 and z-index of the modal to 20001. All I want to do to solve  
> this is
> not pop up the modal dialog in the center of the page (which is  
> where the
> flash component is) but instead pop it up right above where the  
> button I
> click is that opens it.
>
> Can I call a javascript function to move the modal once it has been  
> shown?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org