Helena Caldeira wrote:
> Hi people!
> I'm having a problem on publishing my SVG example in my HTML page.
> See it: www.ufpel.edu.br/~lenapc and then click on "Exemplo de um objeto em 
> SVG"!
> What's going on?
> Please help me.
> Helena

Works fine for me. If you are trying to embed the SVG file inside an 
HTML page, you must use the following code:

<object data="cycloid1.svg" width="740" height="276" type="image/svg+xml">
<!-- embed shouldn't be necessary, but is here for old Netscape Nav. 
support -->
<embed name="Cycloid" src="cycloid1.svg" width="740" height="276" 
type="image/svg+xml" />
<noembed>If you see this text instead of an image,
you should go fetch a good SVG viewer...</noembed>
</object><br />

But the final link to Cycloid2 will bring a standalone SVG file, unless 
you change it to point to another HTML page.

Note: you can use only the <embed> tag: it is Netscape specific, and it 
is not a regular HTML tag, that's why I don't use it alone. <object> is 
the way to go, but it is not understood by Netscape Communicator 4.x... 
while <embed> is actually understood by Internet Explorer.
The way I use these tags: if <object> is understood, it is used, and the 
alternative code given up to the </object> tag is ignored.
Otherwise, the tag is ignored and <embed> is used instead. If not 
understood (some alternate browser? or no plug-in), the <noembed> code 
is displayed instead, giving a warning. You can even put a static image 
of the SVG in the <noembed> zone.

-- 
Philippe Lhoste
--  (near) Paris -- France
--  Professional programmer and amateur artist
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

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