Hi,
I've solved making Q.Window destroy the window when it closes:
q.js, method: hide check the added by me lines:
// hide holder
hide: function(force) {
if (Q.active || force) {
Q.active = false;
if (force) {
this.is_over = false;
this.holder.hide();
// added by me
this.holder.remove();
} else {
this.holder.fade({ duration: 0.05 });
// added by me
this.holder.remove();
}
if (this.input)
this.input.blur();
Q.callback('onHide', this);
}
},
I was also thinking to add minimize & maximize buttons to the window
to have more control on it