Hi all, I am relatively new to the SVG technologies. I apologize if this topic has already been discussed earlier but I couldn't find suitable help for me Well, I am trying to display 'selection' of the element on which user has clicked. My SVG contains several path and text elements which have their style defined via 'class' attribute. All my attempts to retrieve the style of the element resulted in a big NO. I was not able to get the existing style data.
The whole idea is 1. 'cache' the original style data to a global variable 2. change temporarity to 'RED' fill/ stroke - I should be able to know whether the current element is using fill (closed path) or stroke (just a path like road etc.,) 3. when the user clicks on other element, restore the original style using the value stored in global variable The other alternatives of setting opacity for all elements to 0.25 and then setting opacity of current element to 1 is not suitable as my class attributes do have opacity which means I am disturbing the original style. Please suggest me on how to achieve the above three steps Thanks in advance Best regards, Anil Vemu ----- 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/

