W3C home > Mailing lists > Public > www-svg@w3.org > May 2014

RE: SVG in JavaScript (parseXML, printNode,contextMenu)

From: David Dailey <ddailey@zoominternet.net>
Date: Tue, 20 May 2014 11:11:31 -0400
To: "'Nelson Marisco'" <nmarisco@uol.com.br>, <www-svg@w3.org>
Message-ID: <000a01cf743d$c860fc20$5922f460$@net>
Hi Nelson, I’m just guessing, but those questions might more properly be directed to somewhere like svg-developers@yahoo.com which is more about helping folks with questions. I think all of those things you mention (though I didn’t use all of them) were specific to the Adobe viewer (ASV).  In modern browsers,  one might use a library like JQuery or snap.svg (that I assume would handle most of those features), or, in the case of printNode (which I loved when it was available) one can now put the SVG inline in HTML and use innerHTML to get the source:


See for example: http://cs.sru.edu/~ddailey/svg/IframeSVG.htm 


Question to the group at large: since svgdevelopers at Yahoo seems to have dwindled in traffic quite a bit in recent years, is there a better forum to consider? I know there is a lot of distributed activity here and there. Will http://www.webplatform.org/ ultimately have forums for questions and answers?





From: Nelson Marisco [mailto:nmarisco@uol.com.br] 
Sent: Tuesday, May 20, 2014 9:26 AM
To: www-svg@w3.org
Subject: SVG in JavaScript (parseXML, printNode,contextMenu)


 In 2004 I used the Adobe SVG Viewer displays it in the browser. I'm trying to use the same code in a browser with native SVG. But I'm having problems with parseXML, setData, printNode, contextMenu. How do I replace these functions so that the JavaScript can be played back directly in Browser natively?




Nelson Marisco 
Received on Tuesday, 20 May 2014 15:12:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:53 UTC