[Prototype-core] Proto 1.7rc1, problem with measuring width of elements with display: none

2010-04-22 Thread Viktor Kojouharov
I'm having a bit of a problem with measuring the width of a hidden (with display: none) element, that has the 'body' as its parent. I don't have a set width for this element (which is a div), but the browsers do calculate a finite width for it, which is much smaller than the size of the page body.

[Prototype-core] Re: Prototype without browser?

2010-04-22 Thread nlloyds
Rüdiger Check out Prototype ASP: http://nlsmith.com/projects/prototype-asp/, http://github.com/smith/prototype-asp/tree/asp. It works in cscript as well as other places. It's just a quick hack and is not meant to be it's own product or anything, but it works reliably on jscript and other

[Prototype-core] Re: Prototype without browser?

2010-04-22 Thread nlloyds
On Apr 21, 6:51 am, Rüdiger Plantiko ruediger.plant...@astrotexte.ch wrote: Are you sure you are using Javascript precisely ? Aren't you using some kind of ECMAScript instead ? Well, my scripts are executed with the same library  (%systemroot% \system32\jscript.dll)  that is used by the

[Prototype-core] Re: Prototype without browser?

2010-04-22 Thread Matt Foster
I've used the Enumerable methods and the core stuff like Function.bind and Class.create in whatever ECMA flavor the Adobe programs use(Indesign Photoshop) so I'm sure it's possible to leverage some things from prototype in your program.

[Prototype-core] Re: Prototype without browser?

2010-04-22 Thread Rüdiger Plantiko
Hello Nathan and Matt, thanks for your suggestions and interesting links. I will study them and probably use one of your proposals... Thanks and regards, Rüdiger -- You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send