Solved it. Using Xlink instead of javascript:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:svg="http://www.w3.org/2000/svg";
   xmlns="http://www.w3.org/2000/svg";
   xmlns:xlink="http://www.w3.org/1999/xlink";
   version="1.0"
   width="745"
   height="1053">
   <a xlink:href="http://wiki.svg.org"; target="_top">
    <rect
       width="136.99802"
       height="139.85518"
       x="50"
       y="50"
       style="opacity:1;fill:#ff50ff;stroke:black;" />
   </a>
</svg>

This works in:

IE7 with Adobe SVG viewer
IE6 with Adobe SVG viewer
Firefox 2.0
Firefox 1.5.0.4 with Adobe SVG viewer switched on

Partially works in:

Firefox 1.5.0.7 (the target attribute isn't recognised)

Doesn't work in:

Firefox 1.5.0.4 (the nested <rect> within the <a> tags doesn't show at
all)

Thanks 
Jon




-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to