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

Re: should doc.getElementById("myCanvas").setElementByIdNS(null, "visibility", "hidden") hide canvas

Expand Messages
  • th_w@ymail.com
    ... Do you mean something like document.getElementById( myCanvas ).setAttribute( style , visibility:hidden )
    Message 1 of 2 , Mar 8, 2012
      --- In svg-developers@yahoogroups.com, Jonathan Chetwynd <j.chetwynd@...> wrote:
      >
      > however is there a standards reason that:
      > doc.getElementById("myCanvas").setElementByIdNS(null, "visibility",
      > "hidden")
      > does not hide the canvas?
      >

      Do you mean something like

      document.getElementById("myCanvas").setAttribute("style","visibility:hidden")
    Your message has been successfully submitted and would be delivered to recipients shortly.