You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by hugues parvillers <hp...@yahoo.fr> on 2005/05/07 00:54:23 UTC
[Batik] How to link to another SVG by script ?
Hello,
Could you tell me how to link by script from a svg
file to another one ?
For example, I propose several scales into a select
list.
After the user change the selected scale , the map
should directly load the url set by script.
Tks in advance for your coop,
H/P
France
Salutations,
Hugues PARVILLERS
AgdF S.A., groupe Cegedim
Mob : (+33) 6 81 59 25 03 / Skype : parvillers_h
PS: attention mel à utiliser pour toute correspondance pro
__________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Re: [Batik] How to link to another SVG by script ?
Posted by Fabien Todescato <ft...@infologic.fr>.
Hi Hughes,
I have a similar application where I scriptically updates the xlink:href
attribute of an svg:use node.
Cheers
hugues parvillers wrote:
>Hello,
>
>Could you tell me how to link by script from a svg
>file to another one ?
>
>For example, I propose several scales into a select
>list.
>After the user change the selected scale , the map
>should directly load the url set by script.
>
>Tks in advance for your coop,
>
>H/P
>France
>
>Salutations,
>
>Hugues PARVILLERS
>AgdF S.A., groupe Cegedim
>
>Mob : (+33) 6 81 59 25 03 / Skype : parvillers_h
>
>PS: attention mel � utiliser pour toute correspondance pro
>
>
>
>
>
>
>
>
>
>__________________________________________________________________
>D�couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
>Cr�ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
>For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>
>
>
>
>
Re: [Batik] How to link to another SVG by script ?
Posted by Andreas Neumann <ne...@karto.baug.ethz.ch>.
Hi again,
I created a selectionlist javascript that you might want to use for that
purpose.
http://www.carto.net/papers/svg/gui/selectionlist/ - just extend it with
<a /> elements and add your links.
Andreas
hugues parvillers wrote:
>Hello,
>
>Could you tell me how to link by script from a svg
>file to another one ?
>
>For example, I propose several scales into a select
>list.
>After the user change the selected scale , the map
>should directly load the url set by script.
>
>Tks in advance for your coop,
>
>H/P
>France
>
>Salutations,
>
>Hugues PARVILLERS
>AgdF S.A., groupe Cegedim
>
>Mob : (+33) 6 81 59 25 03 / Skype : parvillers_h
>
>PS: attention mel à utiliser pour toute correspondance pro
>
>
>
>
>
>
>
>
>
>__________________________________________________________________
>Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
>Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
>For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Re: [Batik] How to link to another SVG by script ?
Posted by Tonny Kohar <to...@kiyut.com>.
Hi,
On Sat, 2005-05-07 at 00:54 +0200, hugues parvillers wrote:
> Hello,
>
> Could you tell me how to link by script from a svg
> file to another one ?
>
> For example, I propose several scales into a select
> list.
> After the user change the selected scale , the map
> should directly load the url set by script.
I think you could use
<a xlink:href="something.svg">
<someSVGElement />
</a>
to do the trick.
For more info, check the SVG spec especially the linking part
Regards
Tonny Kohar
--
Sketsa
SVG Graphics Editor
http://www.kiyut.com
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org