Just a quick note to correct the typos in my previous version, and to verify
(for future readers of the list) that the following function works in both
Batik and ASV (3 on Linux, at least).
function getDisplaySize()
{
var extents = null;
try
{
var view = document.documentElement.viewport;
extents = {
width: view.width,
height: view.height
};
}
catch(e)
{
extents = {
width: window.innerWidth,
height: window.innerHeight
};
}
return extents;
}
Thanks to everyone who helped straighten me out on this one.
G. Wade
--
Contrary to popular opinion, the plural of 'anecdote' is not 'fact'.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/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/