W3C home > Mailing lists > Public > www-svg@w3.org > May 2000

Modifying the "visibilty" rendering property

From: Kenneth Wallis <kennethw@corel.com>
Date: Thu, 18 May 2000 14:19:50 -0400
Message-ID: <39243446.BC886AD1@corel.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:47 GMT