Recent Comments
  1. Re: Onclick event only accessible by a user with edit rights

    Dude, I love you! I just wasted 2 days trying to find the problem. I didn't even notice in the begin...

    --Alex

Bubble event fro SVG to HTML - Calling Javascript functions in HTML documents from events in SVG DOM

Posted in By Nicholas Lu

This is actually quite simple. To refer to a JavaScript function named "f( )" that resides in the HTML document (in which the SVG document is embedded), let the SVG document call the function through "top.f( )".

 

Please refer this page for live demo: http://srufaculty.sru.edu/david.dailey/svg/intro/PartF_B.html

    Comments are closed for this post, but if you have spotted an error or have additional info that you think should be in this post, feel free to contact me.