Volleynerd Knowledge Base |
Volleynerd's Things to Remember
Hot TopicsFirefox Extensions
DVD issues (latest)
Site Feed (Atom) Archives here
|
Tuesday, July 30, 2002
Weird DHTML StuffDealing with visibility style and dynamically showing/hiding blocks is quirky. Here are some thoughts:To toggle visibility, you must explicitly set the visibility attribute for the given element. Giving that element a class name that has a stylesheet attribute for visibility is not enough. You can either set the visibility with an inline style attribute for the element, or programatically with javascript when the page loads. If you only rely on the stylesheet, the visibility attribute will be null at first inspection. Posted 6:29 PM | 0 comments | Permalink ![]()
Comments:
Post a Comment
|