I use Lightface
> function modal(elem, event) {
>
> new LightFace({
>
> //todo
>
> }).open().load()
>
> }
>
>
> open: function(fast) {
>
> this.fireEvent( 'open' )
>
> this._attachEvents()
>
> this._setFocus();
>
> return this
>
> },
>
>
load: function() {
>
> var properties = (Object.append)({
>
> url: 'admin/',
>
> evalScripts: true,
>
> onSuccess: function(response) {
>
> this.messageBox.set( 'html', response ) // response with html elements
>
> this.fireEvent( 'success' )
>
> }.bind(this),
>
> onComplete: function(transport) {
>
> this.unfade()
>
> this.fireEvent( 'complete' )
>
> }.bind(this)
>
> }, this.options.request)
>
> new Request(properties).send()
>
> }
>
>
I cant understand where u must use mBox.reInit() after request?
--
---
You received this message because you are subscribed to the Google Groups
"MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.