Hi again,

Have found that my earlier misunderstanding of the class attribute 
is down to some restriction in the "use" tag.  What I really want to 
do is define an element to use within the defs section:-

<g id="tableCell">
 <desc>Cell of a table</desc>
 <rect id="cell" x="0" y="0" width="70" height="20"/>
 <text id="text" x="35" y="10">Hello</text>
</g>

Then reference using a use tag:-

<use id="r1-c1" xlink:href="#tableCell" x="100" y="20"/>

I then want to alter the style class of the rect and text elements, 
and alter the actual text of the "text" tag using JavaScript.  I 
don't seem able to do that because of a restriction in the DOM 
model - as I understand it, the rect and text elements associated 
with my "r1-c1" object is not exposed.  Is this correct?  Anyone 
found any workarounds for this?  Is what I want to do possible?

Cheers,
Rich.






-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to