Pb calling ext javascript function from svg in server app [Archive] - XML Elves

Pb calling ext javascript function from svg in server app

Toxtes
04-01-2005, 07:06 AM
Hi.

I have a web app : Tomcat, jsp, ...
In one of page, i have a svg.
I want to put an action on a part of my svg.
But with the adobe svg plugin (3.x), it doesn't find the javascript function.
This function is in a file .js which is referenced in the html page which reference the svg <embed ... />.

If i use the plugin 2.x, it works.
If i launch the same window without tomcat it works but with the plugin versin 3.x and tomcat, it doesn't work.

Can someone help me?

Anonymous
04-05-2005, 04:05 AM
Why not reference js file in svg itself?

Michel

Anonymous
04-11-2005, 10:05 AM
Thanks for responding me!

Sorry for my response time, i couldn't do before...
I found the solution...
it was a pb between my html page and my svg file.
it wasn't the same protocol for accessing to the 2 resources.

I put the svg in my app server and i accessed it by http and i work!

 
Web mp2kmag.com
mapforums.com

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum