Hello,
I'm loading window throw other function:
function buildWin() {
win = new Window('window_id', {className: "dialog", title: "Sample",
width:200, height:150});
win.getContent().update("<h3>Labas Simona !!</h3>");
win.setDestroyOnClose();
win.showCenter();
}
execution of this function is placed in the end of page before </body> tag.
In IE6, IE7, FF2 everything works, but in Opera i'm getin error:
Event thread: load
Error:
name: TypeError
message: Statement on line 905: Type mismatch (usually a non-object value
used where an object is required)
Backtrace:
Line 905 of linked script
http://kompiuteriai.init.lt/includes/window/window.js
var div = this._createHiddenDiv(this.options.className + "_n");
Line 78 of linked script http://kompiuteriai.init.lt/includes/prototype.js
return __method.apply(object, [event || window.event
].concat(args).concat($A(arguments)));
At unknown location
[statement source code not available]
Cant find solution on my one. Any ideas?
Respectfuly,
Darius Tumas a.k. Tokeiito
Init Inc.
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com