Hi
I have done a new release. It does not include new features but it's
a big clean up and now create windows and dialogs has never been so
easy.
// Create a window
var win = new Window();
win.show();
// Create a dialog
Dialog.alert("Your message");
Constructor has been simplified, now you can just do win = new Window().
By default id is automatically generated and can be passed as options
win = new Window({id: "my_id", width: 100, height: 100})
Backward compatibility with old constructor
win = new Window("my_id", {width: 100, height: 100})
Observer event can be passed as window option:
win = new Window({onClose: function() {alert('close')}})
parent option can be id or element
delegate has been removed (not really usefull) and setCloseCallback
has been added instead. (It could be also passed as a constructor's
option closeCallback: your_callcback) your_callcabck must return true
to be able to close the window
add onMove event
fixed constraint for minimized window
destroyOnClose could be passed as constructor's option:
win = new Window({destroyOnClose: true})
constraint works for maximized windows
Dialog ok and cancel parameters has been renamed to onOk and onCancel
for coherence (ok and cancel still works)
Update to Prototype 1.5 and script.aculo.us 1.7
Seb
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com