SVG in IE

View: New views
4 Messages — Rating Filter:   Alert me  

SVG in IE

by adek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When I open SVG documents in Internet Explorer I can't see whole document because there aren't scrollbar(I install Adobe SVG Viewer 3.03). When I open the document in Firefox I can't see animations. What to do to manage with the problem?

adek

Re: SVG in IE

by Andreas Neumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Adek,

You can embed the SVG file in a HTML file and set the width and height
on the object/embed/iframe tag explicitly (in pixels). This should add
scrollbars if the  object/embed/iframe size is bigger than the  browser
windows. Alternatively you can set a viewBox and scale the graphics to
the  current browser window.

Ad animations in Firefox: Firefox doesn't yet support SMIL animation.
Alternatives are to animate per script or use a library called
SMILScript, provided by Doug Schepers at
http://www.vectoreal.com/smilscript/. It should handle a fair amount of
your SMIL code, but certainly not everything.

BTW: it would better if you ask such questions at
http://tech.groups.yahoo.com/group/svg-developers/messages . The goal of
this mailinglist is to discuss the SVG specification (file format), the
yahoogroups' goal is to provide support for developers.

Andreas
> When I open SVG documents in Internet Explorer I can't see whole document
> because there aren't scrollbar(I install Adobe SVG Viewer 3.03). When I open
> the document in Firefox I can't see animations. What to do to manage with
> the problem?
>
> adek
>  


--
--
----------------------------------------------
Andreas Neumann
Institute of Cartography
ETH Zurich
Wolfgang-Paulistrasse 15
CH-8093  Zurich, Switzerland

Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
e-mail: neumann@...
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/




Re: SVG in IE

by adek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Andreas Neumann wrote:
You can embed the SVG file in a HTML file and set the width and height
on the object/embed/iframe tag explicitly (in pixels). This should add
scrollbars if the  object/embed/iframe size is bigger than the  browser
windows.
I did it but there aren't scrollbars.

Re: SVG in IE

by Andreas Neumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Here is an example using <iframe/> which works in all browsers:

http://www.carto.net/neumann/temp/svg_with_scrollbars.html

Andreas


adek wrote:

>
>
> Andreas Neumann wrote:
>  
>> You can embed the SVG file in a HTML file and set the width and height
>> on the object/embed/iframe tag explicitly (in pixels). This should add
>> scrollbars if the  object/embed/iframe size is bigger than the  browser
>> windows.
>>
>>    
>
> I did it but there aren't scrollbars.
>
>  


--
--
----------------------------------------------
Andreas Neumann
Institute of Cartography
ETH Zurich
Wolfgang-Paulistrasse 15
CH-8093  Zurich, Switzerland

Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
e-mail: neumann@...
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/


LightInTheBox - Buy quality products at wholesale price!