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

Re: [svg-developers] createElement does not work

Expand Messages
  • Antoine Quint
    ... Which version of Firefox? Also, can you post a little more code showing more of what you do with that circle? But the fact that your code works in Opera is
    Message 1 of 4 , Sep 1, 2006
    • 0 Attachment
      On 1 sept. 2006, at 11:53, Stéphane ANCELOT wrote:

      > This is always the same problem,
      > however, I tried my program in opera, this works in opera and not
      > in moz
      > firefox !!!

      Which version of Firefox? Also, can you post a little more code
      showing more of what you do with that circle? But the fact that your
      code works in Opera is a sign that you're probably doing something
      right :)

      Antoine
      --
      Antoine Quint — Fuchsia Design
      SVG & Client-side XML Consulting
      W3C SVG WG Invited Expert
      http://fuchsia-design.com
    • Stéphane ANCELOT
      This is always the same problem, however, I tried my program in opera, this works in opera and not in moz firefox !!!
      Message 2 of 4 , Sep 1, 2006
      • 0 Attachment
        This is always the same problem,
        however, I tried my program in opera, this works in opera and not in moz
        firefox !!!

        Antoine Quint wrote:
        > On 31 août 2006, at 17:26, Stéphane ANCELOT wrote:
        >
        >> node=document.createElement("circle");
        >
        > You need to call createElementNS with the first argument being the
        > SVG namespace ("http://www.w3.org/2000/svg") and the second one being
        > the localName of the element you're creating
        >
        > document.createElementNS('http://www.w3.org/2000/svg', 'circle');
        >
        > Antoine
      Your message has been successfully submitted and would be delivered to recipients shortly.