modal popups

View: New views
2 Messages — Rating Filter:   Alert me  

modal popups

by mathieu.cier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

is there any way to open modal popups?
I mean a rialto popup is opened with the instruction:
new rialto.widget.PopUp(...)

and the next instruction will not be evaluated until the
popup is closed.

you see?

Mathieu


Re: modal popups

by Cyril Balit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello mathieu,

To evaluate the rest of your instruction only when the popup is closed
you have to add this code in the onClose method of the popup.
Something like:

var popup=new rialto.widget.PopUp(...);
popup.onClose=function(){
//script to execute when the popup is closed
}

Cyril

--- In rialto-dev@..., "mathieu.cier" <mathieu.cier@...>
wrote:

>
> hi,
>
> is there any way to open modal popups?
> I mean a rialto popup is opened with the instruction:
> new rialto.widget.PopUp(...)
>
> and the next instruction will not be evaluated until the
> popup is closed.
>
> you see?
>
> Mathieu
>


LightInTheBox - Buy quality products at wholesale price