--- In [email protected], "G. Wade Johnson" <[EMAIL PROTECTED]> wrote: > > Thanks, Sean. > > But, innerWidth and innerHeight are ASV-specific, aren't they? I'm looking for > a standards-compilant approach if possible.
Window client side features have never been standard. innerWidth and innerHeight are (were) ASV-specific, but they function in FF. We can legitimately hope that all future implementations will adopt them as standard. Domenico > > And, thanks for reminding me. The SVG is not embedded in HTML. > > G. Wade > > On Sun, 11 Dec 2005 21:50:52 -0700 > Sean Montague <[EMAIL PROTECTED]> wrote: > > > You could try innerWidth & innerHeight or if you have embeded it in html: > > parent.document.SvgMap.clientWidth > > parent.document.SvgMap.clientHeight > > > > G. Wade Johnson wrote: > > > > >I know there must be an easy answer to this, but how do I get the actual > > >width and height of the viewer. I am not looking for the width and height > > >of the svg or for the viewBox values. > > > > > >I am building an SVG image on the fly and sending it to the viewer. This > > >image may be larger than the area that the viewer can display. I want to > > >find the area that the viewer displays so that I can modify the image based > > >on what is currently displayed. > > > > > >I've normally layed out my displays so that this is not a problem. In this > > >case, I do not have that option. > > > > > >Thanks, > > >G. Wade > > > > > > > > > > > > > > ----- > > To unsubscribe send a message to: svg-developers- [EMAIL PROTECTED] > > -or- > > visit http://groups.yahoo.com/group/svg-developers and click "edit my > > membership"---- > > Yahoo! Groups Links > > > > > > > > > > > > > -- > Always hold a grudge. Keeps the memory sharp. -- Hagar the Horrible > ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/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/

