> Hi, > > -----Message d'origine----- > De�: Derek Hohls [mailto:[EMAIL PROTECTED] > Envoy�: mardi 19 ao�t 2003 14:21 > ��: [EMAIL PROTECTED] > Objet�: Cocoon with SVG/Javascript not working... > > > I am struggling to get an embedded SVG file working with > > Javascript inside of Cocoon - the file works fine as a static > > HTML page called from the local drive - but as soon as I > > call the page through Cocoon (loading the same 'static' > > HTML, JS and SVG files), the Javascript calls embedded in > > the SVG cease to work (although the Javascript calls inside > > the HTML page work as normal). > > Are your SVG, JS and HTML files served from the same domain? (Note that > the port number is relevant too). If they aren't, your only option is to > serve them from the same domain.
Sorry, I later realized that I forgot to mention that this is because security restrictions apply ... For more information, please see that reference: http://devedge.netscape.com/library/manuals/2000/javascript/1.3/guide/sec.html Hope that helps (this time ... ;o) C�dric --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
