According to the Prototype documentation concerning the class method
Element.setStyle, the method takes a hash of property-value pairs as
the parameter. And, indeed, the following works as expected ...
$( 'elm_01' ).setStyle({height: '200px'});
so why doesn't the following work ...
var
I'm pretty new to both JavaScript and Prototype, but have been
programming for over 30 years, and so this one is causing me to tear
out what little hair I have left. Basically, I can't seem to figure
out what is wrong when I move a function that works outside of a class
into a class, it is a very
of the functions in your Test_01 class are
anonymous); more
here:http://blog.niftysnippets.org/2010/03/anonymouses-anonymous.html
HTH,
--
T.J. Crowder
Independent Software Consultant
tj / crowder software / comwww.crowdersoftware.com
On Jul 14, 4:50 pm, Zortag zor...@rcn.com wrote:
I'm