--- In svg-developers@yahoogroups.com, "simonshutter" <[EMAIL PROTECTED]> wrote:

> I also tried the following that was provided to me in another forum 
> but it only worked in FF2 and not IE7/ASV3.  Any idea why this is?
> 
> var myEl=document.getElementById('yaxisGroup').getElementsByTagName
> ('text');
> var newVal=['15.00','12.00','43.00','62.00'];// the new values for 
> the x attribute
> var i=0, e; while(e=myEl[i++]){ e.setAttribute('x',newVal[i-1]); }

The DOM implementation of the Adobe SVG viewer does not support the
ECMAScript/JavaScript shortcut to index a node list with square
brackets. For Adobe SVG viewer you need to use the item method as I
had shown in my example code.



-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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