Eric Harrison wrote: [...] > And the reason I am using my version of visible instead of the default > visible that comes with prototype is that I'm using the prototype > native getStyle() method so that the computation occurs on the > rendered style of the element instead of just on what is set > explicitly inside .style.display. If I set display: none; in a CSS > class declaration for an element, .visible() will return the wrong > value as the .style.display attribute is NOT set by a CSS class > attribute. > > Make sense?
No. Because that still doesn't tell you whether the element is visible or not, or what the value of its visibility property is set to (either computed or set). -- Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
