> On 5/25/06, Gregory Hill <[EMAIL PROTECTED]> wrote: > > JS cannot access the attributes if they were > > set using a <style> block or an external stylesheet. > > You can. See Element.getStyle()
Ah... I forgot about that; I was thinking of before I found prototype when I was trying to figure it out on my own. > The problem with making an element visible, when it was hidden by > setting display: none in a stylesheet is, that calculating the proper > value for the display property is rather complicated and time > consuming. That's right, that's what I was thinking of. There's so many little caveats with Javascript sometimes I get them confused. Greg _______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
