You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by hannach <ha...@solutiondynamics.com> on 2012/08/03 04:23:46 UTC
Close Modal Widow via external link?
I have Modal window that contains external webpage. (e.g.
RedirectPage(www.google.com))
I need to figure out the way to close the modal window by clicking button or
link from this external site.
What kind of javascript do I have to use to close the modal window?
I've tried to copy the javascript that is called for
Modal.closeCurrent(target) but it seems not working.
Any help would be greatly appreciated.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Close-Modal-Widow-via-external-link-tp4650975.html
Sent from the Users forum 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: Close Modal Widow via external link?
Posted by Martin Grigorov <mg...@apache.org>.
On Fri, Aug 3, 2012 at 5:23 AM, hannach <ha...@solutiondynamics.com> wrote:
> I have Modal window that contains external webpage. (e.g.
> RedirectPage(www.google.com))
> I need to figure out the way to close the modal window by clicking button or
> link from this external site.
The modal window uses an IFrame to show a page.
Search for solutions how to reach the containing page from the iframe.
E.g. http://stackoverflow.com/questions/935127/how-to-access-parent-iframe-from-javascript
> What kind of javascript do I have to use to close the modal window?
> I've tried to copy the javascript that is called for
> Modal.closeCurrent(target) but it seems not working.
>
> Any help would be greatly appreciated.
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Close-Modal-Widow-via-external-link-tp4650975.html
> Sent from the Users forum 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
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org