--- In [email protected], "tamsvg" <[EMAIL PROTECTED]>
wrote:


> I'm trying to embed my svg into an iframe object. Is this only
> possible by using the src="sample.svg" attribute? It would be better
> for me, if I could write my svg tags directly into the iframe tags,like
> <iframe  name="frame">
>   <svg>
>     <circle ...>
>   </svg>
> </iframe>
> 
> 
>  how can I do this? 

An HTML iframe embeds a resource different than the one the <iframe>
element itself is in so you indeed need to use the src attribute to
point to a resource.
The content of the <iframe> element is meant as alternative content
when the browser does not support iframes but as long as browsers do
not support SVG natively you cannot put SVG directly into an HTML
document.
So far only Opera 8 has native SVG support, there you could write an
XHTML document that embeds SVG graphics using the proper SVG elements
in the SVG namespace http://www.w3.org/2000/svg so with Opera 8 you
would not need an iframe at all but could directly embed an SVG graphics
  <svg xmlns="http://www.w3.org/2000/svg";
       width="200" height="200">
    <!-- SVG shapes go here -->
  </svg>





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