[Proto-Scripty] Re: Prototype conflict solution

2009-12-01 Thread Rafal Zarajczyk
As far as I know there is no such thing in prototype, but definitely it would be usefull sometimes! When I need a single method from Prototype in a jQuery-driven site (let's say I want to use unescapeHTML ()) I just copy-paste implementation... which is sometimes easy, sometimes hard. I'm looking

[Proto-Scripty] Not returning correct string.

2009-12-01 Thread ekampp
Hi there. I have a prototype class that has these two methods: hide_precollapsed: function(){ if(this.get_state() != visible){ this.target.hide(); }; }, get_state: function(){ var state = hidden;

[Proto-Scripty] Re: Not returning correct string.

2009-12-01 Thread T.J. Crowder
Hi, My problem is that the +get_state+ method is not returning the ttstate/tt correctly. Am I doing something wrong? Your `get_state` function, as coded, will always return hidden. That's because it _initiates_ an asynchronous request to the server and then returns. Eventually the

[Proto-Scripty] Re: possible bug

2009-12-01 Thread Tobie Langel
IE's version is redefined elsewhere. Best, Tobie On Dec 1, 12:37 pm, Davide daw...@gmail.com wrote: HI All, yesterday while looking in the javascript source of JS I noticed that in the function getStyle: function(element, style) there is this piece of code. if (!value || value == 'auto')