Hi, Thomas -

Thanks for your reply. I know I could remove the onclick hyperlink from
the circle in my SVG document, and use an event handler in my Java code to
listen for a mouse click on the circle instead - which could then use
JSObject to call the web page Javascript - but that's not really what I
want to do. I really want to keep the onclick hyperlink in my SVG
document. Batik obviously knows I have clicked on the hyperlink, but as
you have already pointed out, because the Javascipt in my web page runs in
a different interpreter to the Javascript in my SVG document, it throws a
stack trace complaining that the method is not defined. What I am trying
to do is find a way of stopping that stack trace from occurring by
intercepting whatever Batik does when it detects a user has clicked on an
onclick hyperlink in an SVG document and using my own method to call the
Javascript in the web page instead. Am I attempting the impossible?

Regards,

Gary



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to