Hello!
From the Italian Inkscape-User mailing list comes this post. Marco
Andreolli is asking where these tags fit in the main SVG file:
<script type="text/ecmascript" xlink:href="ajaxrequest.js"/> <script type="text/ecmascript" xlink:href="PrimoPiano.js"/>
Within <svg></svg>? Or completely out of that tag?
I'll forward your answers to the Italian mailing list.
Greetings!
Daniel Díaz yosoy@...31...
---------- Forwarded message ---------- From: Marco Andreolli <MarcoAndreolli@...1560...> Date: Nov 10, 2006 6:52 AM Subject: [Inkscape-user-it] Inserire un riferimento a un file ecmascript To: inkscape-user-it@lists.sourceforge.net
Salve volevo chiedervi come posso inserire in un file svg creato da inkscape un riferimento ad un file di libreria ecmascript; per essere più chiaro vi faccio un esempio:
Questo è il file svg
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.0" width="744.09448" height="1052.3622" id="svg2"> <defs id="defs4" /> <g id="layer1"> <rect width="300" height="171.42857" x="22.857143" y="32.362183"
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1307" /> </g> </svg>
Mentre questi sono i riferimenti ai file di libreria ecmascript. <script type="text/ecmascript" xlink:href="ajaxrequest.js"/> <script type="text/ecmascript" xlink:href="PrimoPiano.js"/>
Dove e come li devo inserire nel file svg?? Grazie.