|
From: Antoine Q. <an...@fu...> - 2001-09-18 16:51:06
|
Hey,
In the gradients module, there is a function called at init that looks
up the DOM tree for the shapes filled with the gradients that are
i:gradient enabled. So what I do is look through
doc.getElementsByTagName('*') and I check each element's "fill" property
to see if it refers to the specified gradient. Problem is that before I
read the "fill" property I need to check if that particular element
allows for the Style interface (getStyle()) to be called.
Anybody knows how to do this?
antoine
|