Hi,
   
  thankyou for the simple trick! it works well!! I have added three additional 
style defs each for fill, line style and text style and depending upon the 
current element's class name (I do have a naming convention and thus 
identifying fill, line and text classes is easy :) ), replaced the class with 
my 'Highlight' class and then cached it in global variable. Again after 
selecting another element, am able to 'restore' the original style without any 
loss!! 
   
  Thank you for guiding me in the right direction
   
  Best regards,
  Anil Vemu

"G. Wade Johnson" <[EMAIL PROTECTED]> wrote:
  On Wed, 12 Apr 2006 08:57:43 -0500
"Phi Tran" wrote:

> This is not SVG related however it help to answer your question.
> As the rule: You can't modified "CSS - class" on the fly.
> (But you can do is append a New "class" then using it, (using javascript).
> - Get the old, modifiy then delete then append the same one don't work). If
> you need the snipnet on how to append CSS on the fly let me know.
> 
> Hope this help.

Sorry, I wasn't clear enough. I was referring to changing the class attribute
on an element, which does work. Otherwise, I've been hallucinating this effect
on much of my SVG work.

G. Wade
-- 
As a software development model, Anarchy does not scale well.
-- Dave Welch


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








                        
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

[Non-text portions of this message have been removed]





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