Hi Sébastien.

I would also love to see windows constrained to the viewport. Could it be an
option?

Regards,

- Jacques

2006/12/20, Dhruba Bandopadhyay <[EMAIL PROTECTED]>:

To javawin programmer

Can I ask for two quick requests in next version please:


 window.js 0.98 custom changes:
(line#) 361:
 if (this.useLeft)
 ->
 if (this.useLeft && (parseFloat(this.element.getStyle('left')) + dx >=
0.0))

 366:
 if (this.useTop)
 ->
 if (this.useTop && (parseFloat(this.element.getStyle('top')) + dy >= 0.0
))


Or something similar. This prevents the user from accidently dragging it
off the top/left of the screen. Maybe have a property which when enabled
does this check.




 windows.js 0.98 custom changes:
 59+:onclose:           ""

 415:
 var closeDiv = this.options.closable ? "<div class='"+ className
+"_close' id='"+ id +"_close' onclick='Windows.close(\""+ id +"\",
event)'> </div>" : "";
 ->
 var closeDiv = this.options.closable ? "<div class='"+ className
+"_close' id='"+ id +"_close' onclick='" + this.options.onclose + ";
Windows.close(\""+ id +"\", event)'> </div>" : "";


So that a window can have unique onclose javascript commands.





Many thanks

------------------------------
View Athletes' Collections with Live Search. See 
it!<http://sportmaps.live.com/index.html?source=wlmemailtaglinenov06>

_______________________________________________
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