I don't know which options you're expecting. The shortcut method (*
StickyWin.ui()*) instantiates an instance of StickyWin.UI:

StickyWin.ui = function(caption, body, options){
 return document.id(new StickyWin.UI(caption, body, options));
};


Your example invokes this shortcut but passes no options:

new StickyWin.Modal({
    content: StickyWin.ui('this is the caption', 'this is the body.'), << NO
OPTIONS HERE
    destroyOnClose: true,
    width: 800,
...

What options where you expecting?

On Mon, Aug 15, 2011 at 6:42 PM, Philip Thompson <[email protected]>wrote:

> I'm sorry if this is more Clientcide-directed and not so much Mootools.
> Check out this fiddle. http://jsfiddle.net/philthathril/pnWnR/ It appears
> as though the options are not getting propagated when implementing the
> StickyWin.UI.build method. View the console and view the options object (and
> ignore the error afterwards). Is this a bug that the options don't appear to
> get passed?
>
> Thanks,
> ~Philip
>
> --
> http://lonestarlightandsound.com/
>

Reply via email to