Hi Peter,

 

A couple of things:

1.       You might take a look at
http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html . It was written
at a time that the Adobe plugin for IE  (often called ASV) was more relevant
(that is, before native SVG support in IE) and the examples were, except as
noted, pretty much cross browser compliant for all five browsers.

2.       ASV really is approaching obsolescence. While I would agree that
lots of individuals do not have access to native support for SVG in IE, the
SVG spec has been largely diverging from it for almost ten years now. 

Nevertheless, the code examples in the above reference should work most
everywhere, includeing ASV.

 

As Robert notes, Jonathan Watt's authoring notes should provide most of what
you need for getting things to work across browsers.

 

David

 

From: [email protected] [mailto:[email protected]]
On Behalf Of PETER
Sent: Friday, April 12, 2013 4:40 AM
To: [email protected]
Subject: [svg-developers] Re: onmouseover effect

 

  



Robert
Thank you for your prompt reply

Looked at the page suggested - found relevant part.

Made changes suggested
In http://sst-svg.co.uk/toyellow3.svg

Not only does it not work in Firefox, it doesn't work in IE with Adobe
SVGview.exe

I must be exceptionally dim today - what did I do wrong

Pete (Northolt UK)

--- In [email protected]
<mailto:svg-developers%40yahoogroups.com> , "Robert Longson" <longsonr@...>
wrote:
>
> https://jwatt.org/svg/authoring/ is a good read for such things. In it it
says...
> 
> in ASV it is possible to write code like this:
> 
> evt.getTarget().getOwnerDocument().getDocumentElement();
> 
> when the DOM and SVG specifications actually define properties, not
methods, so the correct way to write this code is:
> 
> evt.target.ownerDocument.documentElement;
> 
> 
> You'll find if you search in your example for getTarget() and replace it
by target as suggested there, your mouseover works.
> 
> Robert
>





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

<*> 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:
    [email protected] 
    [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