Loading ...
Sorry, an error occurred while loading the content.

66068Re: onmouseover effect

Expand Messages
  • PETER
    Apr 12, 2013
    • 0 Attachment
      Thank you David

      The link that you gave showed me the way

      The result can be seen at http://sst-svg.co.uk/toyellow8.svg

      Most grateful
      Pete (Northolt UK)


      --- In svg-developers@yahoogroups.com, "David Dailey" <ddailey@...> wrote:
      >
      > 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: svg-developers@yahoogroups.com [mailto:svg-developers@yahoogroups.com]
      > On Behalf Of PETER
      > Sent: Friday, April 12, 2013 4:40 AM
      > To: svg-developers@yahoogroups.com
      > 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 svg-developers@yahoogroups.com
      > <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]
      >
    • Show all 6 messages in this topic