its a missing feature (bug), but there is a workaround (proposed by
Doug and others):
//add SVGResize event, note that because FF does not yet support the
SVGResize event, there is a workaround
try {
//browsers with native SVG support, use the browsers resize event
window.addEventListener("resize",this,false);
}
catch(er) {
//SVG UAs, like Batik and ASV/Iex
document.documentElement.addEventListener("SVGResize",this,false);
}
where this is an object or callback function.
this is also implemented in the carto.net mapApp object:
http://www.carto.net/papers/svg/gui/mapApp/
Andreas
--- In [email protected], "André M. Winter -
Carto.net" <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> onresize works fine in MSIE/ASV and Opera but Firefox ignores it
for v2
> and v3a2 (but it works there for html-content).is this a bug or a
> "feature", viz is there another event-listener for FF?
>
> thx,
> andré
>
> --
> ___________________________________________________________________
> andre m. winter,
> cartography for internet and multimedia applications
> schiessstand 4/1, a6091 goetzens, tyrol, austria
> tel.: ++43.5234.32732
>
>
> <http://www.vectoreal.com/> SVG consulting and development
> <http://www.geotrace.net/> geo-localized high quality photographs
> <http://www.carto.at/> print and online touristic map solutions
>
-----
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/