Hi 'mortsahl',
Nice website!
see my comments below.
mortsahl wrote:
>
> if (win == undefined) {
This should really be:
if( typeof win == 'undefined')
sometimes your code will work, but it is bad practice and will bring you
too much trouble. The variable 'undefined' is not a keyword, but an
undefined variable. Note the subtle differences.
> win = new Window('window_id', {className: "spread", title: "",
> top: findScrollTop() + 70, left:10, width: myWidth-40, height:
> myHeight-110, resizable: false, maximizable: false, minimizable:
> false, url: url});
> }
> else {
> win.setUrl(url);
Your browser is right these. setUrl() is not a function. Read the
documentation: javascript is case sensitive and it says setURL() ;)
http://prototype-window.xilinus.com/documentation.html#setURL
I can't see all your code, so I'm not sure it will work. However, these
parts give me the impression that you are new to JavaScript. Be careful
with a complex piece of software as PWC, which uses pretty advanced
techniques. However, if you stick to the basic interface, you should be
fine for most common cases.
Cheers,
-- Abel
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com