Ahmed Salman schrieb:

> Hi!
>
> I want to link to a particular view of SVG document by referring an
> element ID like <a xlink:href="SVGDoc.svg#elementID">. But IE 6.0
> gives me the error message that "it cannot find the file. Make sure
> the path is correct".
>
> However when I access <a xlink:href="SVGDoc.svg">, then browser links
> with the document successfully. i.e. its able to find the file at
> least but somehow not able to link to the particular view of that
> file.
>
>
>
> <svg xmlns="http://www.w3.org/2000/svg"; width="100%" height="100%"
> viewBox="0 0 500 500">
> <a xlink:href="eclipse.svg#s1">
>       <text x="100" y="30" style="font-size: 12pt;">Eclipse</text>
> </a>
> </svg>
>
>
>
> <svg viewBox = "0 0 1000 1000" version = "1.1">
>
> <defs>
>       <ellipse id = "s1" cx = "200" cy = "150" rx = "200" ry = "150" 
> fill =
> "salmon" stroke = "black"       stroke-width = "3"/>
> </defs>
>
> <use x = "100" y = "100" xlink:href = "#s1"/>
> </svg>
>
> any idea what I am doing wrong?
>
> -Suleman
>
you would use a <view> Element 
or the svgView keyword like this: 
MyDrawing.svg#svgView(viewBox(0,200,1000,1000))
for detaild information see:
http://www.w3.org/TR/SVG/linking.html#SVGFragmentIdentifiers

unfortunatly this is not implemented in any viewer yet,
i currently have a partial implementation of this in form of an 
extension for firefox.

hth
Holger



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hf1vfj0/M=362335.6886445.7839731.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123077866/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

-----
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/

<*> 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