- From: Kenneth Wallis <kennethw@corel.com>
- Date: Thu, 18 May 2000 14:19:50 -0400
- To: www-svg@w3.org
I was wondering if there is a way to modify the 'visibility' rendering property using the SVG DOM and, most likely, an ECMA script embedded in the SVG document? From looking at the animation example in the SVG spec, I thought that something like the following might work: var element MakeVisible() { element = document.getElementById("Element"); element.SetAttribute("visibilty", "visible") } As an aside, in the animation using the DOM example (sect. 19.3 of the 2000 03 03 spec), document is never declared or initialized. Is it a pre-defined variable that will always point to this document? If this is the case, I am assuming that this is only valid for embedded scripts.... I am fairly new to the whole DOM concept, and would greatly appreciate some guidance. Thanks in advance. Ken Wallis Software Developer Corel Corporation -- Take your office suite performance to an exciting new level. Check it out at http://www.corel.com/featuresinaction
Received on Thursday, 18 May 2000 14:18:08 UTC