Very nice!
The first window works fine but the second causes an error every time I
click while dragging so it keeps following the mouse forever. Seems like the
error is caused inside of dynlayer_base.js
Maybe you miss an argument somewhere in your code?
Anyway, it's line 157 in dynlayer_base.js
The code is something like that:
p._cssClass = '';
p.setClass = function(c,noInlineStyle){
this._className=c;
ERROR if(this.css) this.css.className=cn; (cn is undefined)
else {
this._cssClass=(c)? 'class="'+c+'"':'';
this._noStyle=noInlineStyle;
}
};
-----Ursprüngliche Nachricht-----
Von: dyn...@li...
[mailto:dyn...@li...]Im Auftrag von Daniel
Tiru
Gesendet: Dienstag, 15. Juli 2003 20:51
An: dynapi-dev
Betreff: [Dynapi-Dev] Window widget
Hi folks
I have made a window widget thats pretty ready for the cvs but i thought
that i should run it trough the dev-list first.
Its pretty straight forward but alot of arguments that need to be set if you
want it to look nice. I have attached the window.js file and that one should
be included in the packages, it is a dynlayer aswell. Aswell you will find
some images and the example page.
Tell me if i have made something wrong or what you all would like to see in
the widget thats not there.
One bug is that i get a error in the example file at line 152, but i have no
clue where that as cause the example file is not that long, its just 137
lines so i need some help there if anyone have some time over. It is when i
close one window and then toutch the other one.
Best Regards
Daniel Tiru
|