It should be somehting like
Dialog.confirm(etcetc, {windowParameters: {showEffectOptions:
function() { alert('hello'); }}});
I admit that this syntax with windowParameters is not very sexy. The
new release will be much more cleaner and compatible!
On Feb 16, 2007, at 2:56 AM, Paul wrote:
How would you set the afterFinish callback?
I tried
var win = Dialog.confirm(etcetc);
win.options.showEffectOptions.afterFinish = function() { alert
('hello'); }
but that didn't work.
I noticed in Firebug that only hideEffectOptions had an afterFinish
member defined.
thanks
Paul
- As you call $('accessKey').focus() juste after
nonClosableWindow.show(), it could be still "hidden" (because of
the fadein effect) and IE do not like it at all. You can do it in
afterFinish effect callback or just with a little timeout like this
setTimeout(function() {$('accessKey').focus()}, 100)
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com