On Apr 12, 2005 4:36 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> It is not so complicated as you tried to make it.
> 
> <svg onload="init(evt)">

Please make that:

<svg onload="init(evt)"
   xmlns="http://www.w3.org/2000/svg";
   xmlns:xlink="http://www.w3.org/1999/xlink";>

So that your SVG will work in Mozilla.

> <script type="text/javascript">

Please remove the 'type' attribute so your SVG will work in Batik.

>   function init(evt)
>   {
>     var elem = evt.target;
>     elem.setAttribute('width',window.innerWidth);
>     elem.setAttribute('height',window.innerHeight);
>   }
> 
> </script>
> 
> </svg>
> 
> That will set the width/height of your SVG to the size of the browser
> window,  I think that is what you were trying to do.
> 
> Regards,
> Keir Gordon
>


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