no... :-(
--- In svg-developers@xxxx, "Peschka, Jeremiah "
<jeremiah.peschka@xxxx> wrote:
> I believe your problem can be fixed using <script
src="myFile.js"></script>
>
> :: Hi,
> :: anybody can help me?
> :: when i click on the rect IE return the message->
ReferenceError:
> :: ciao is not defined.
> ::
> :: I have this simple code:
> :: <?xml version="1.0"?>
> :: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
> :: "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
> :: <svg image-rendering="optimizeSpeed" width="200" height="30"
> :: xmlns="http://www.w3.org/2000/svg"
> :: xmlns:a3="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
> :: a3:scriptImplementation="Adobe" >
> :: <script a3:scriptImplementation="Adobe"
> :: xlink:href="es/ciao.js" type="text/ecmascript"/>
> :: <rect x="0" y="0" width="200" height="30" fill="red"
> :: onclick="ciao();"/>
> :: </svg>
> ::
> :: and the file ciao.js contain the code:
> :: function ciao(){
> :: window.alert("ciao external");
> :: }
> ::
> :: Tanks
|