Hi Sébastien,

Thank you very much.

I will add your code modifications to our current JavaScript function that
creates the PWC windows in our web app.

We are looking forward for your version 1.0. We are still using 0.92 and I
hope to do an upgrade to .99 or 1.0 in the next few days.

Regards,

- Jacques

2006/12/16, Sébastien Gruhier <[EMAIL PROTECTED]>:

Hi Jacques,
I was thinking of that too and it will be for sure in the next release.
But you can do it right now by yourself, it's kind of easy.
If you create your window like this:
win = new Window('window_id' + index, {className: "dialog", title:
"Sample", width:200, height:150});

Just add this few lines below (in fact ust wthe win variable is
necessary):
  [$(win.getId()+ '_top').up().previous(), $(win.getId()+
'_top').up().next()].each(function(element) {
    Event.observe(element, "mousedown", win.eventMouseDown);
    element.addClassName("top_draggable")
  })

Version 0.99 seems pretty stable, I will release V1 soon with this and a
new function changeClassName, to change dynamically the window look and
feel.
Seb

On Dec 15, 2006, at 6:08 PM, Jacques wrote:

Hi!

I have a request to make.

Currently, only the main title bar is draggable using the classes
"title_window and top_draggable" in the "n" TD.

I would also like the title bar corners to be draggable too. The "nw" and
"ne" TDs are showing only the theme class name.

In our tests some users tried to drag windows from their corners. Since
the corners can't be dragged, they end up selecting the title text. The
corners should also be draggable.

IE 6 and 7 show this bad behariov.

Can we expect a new version of PWC incorporating a fix?

Regards,

- Jacques
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com



_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com



_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to