[svg-developers] object javascript into svg
I have an application that use internet explorer and adobe svg viewer and i need to know if is possible insert a javascript object inside an svg. Thanks Simone - 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: mailto:[EMAIL PROTECTED] mailto:[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/
[svg-developers] Re: object javascript into svg
--- In svg-developers@yahoogroups.com, Dailey, David P. [EMAIL PROTECTED] wrote: At November 25, 2008 8:00 AM Simone wrote: I have an application that use internet explorer and adobe svg viewer and i need to know if is possible insert a javascript object inside an svg. Yes, certainly. Depending on what you mean you can do it manually as in http://srufaculty.sru.edu/david.dailey/svg/simpleTemplate.svg you can also script into SVG from HTML as in http://srufaculty.sru.edu/david.dailey/svg/objectSVG.html which adds to the SVG DOM from events in HTML using script in both places. And you can even, should you wish, insert a script tag into SVG from script running in HTML. In the above example, if you take the script tag out of the SVG and move it to the HTML (removing the escape bracketing and pasting it in as the second script tag) and execute the following: O=document.getElementById(E) SVGDoc = O.ownerDocument; SVGRoot = SVGDoc.documentElement; var S=document.getElementsByTagName (script) SVGRoot.appendChild(S[1]) then it oughta embed that script into the SVG. Most likely the first example (the simplest) is the sort of thing you had in mind Cheers David [Non-text portions of this message have been removed] i have to insert a object javascript as google map (GMap2), into a svg document - 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: mailto:[EMAIL PROTECTED] mailto:[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/
[svg-developers] Re: google map into svg
Thanks for your answer, it is very useful. i have another question is it possible load a google map into a svg that use the adobe svg viewer specification? i can't use foreignObject because it isn't support from adobe svg viewer and exlorer don't support xhtml, is there a solution to this? Thanks Simone - 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: mailto:[EMAIL PROTECTED] mailto:[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/
[svg-developers] google map into svg
is possible load a javascript object as google map into a svg document ? so i can see a google map into a svg graphic. Thanks - 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: mailto:[EMAIL PROTECTED] mailto:[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/