Hi Nathan, the svg root element has the .viewport attribute for that purpose which is implemented in Batik. See the file below. a good resource to view the available SVG DOM methods and properties is btw http://phrogz.net/ObjJob/object.asp?id=133 - there aren't comments, but at least you see what is available and inherited. viewport example: ---------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" onload="viewportTest()"> <script type="text/ecmascript"> <![CDATA[ function viewportTest() { var viewPort = document.documentElement.viewport; alert(viewPort.x+","+viewPort.y+","+viewPort.width+","+viewPort.height); } ]]> </script> </svg> Hope this helps, Andreas --- In [email protected], "sent1729" <[EMAIL PROTECTED]> wrote: > > Hi all, > > Is it possible to get the windows screen size(width and height in > pixles), in batik squiglle browser. For ex: in IE using javascript we > can say screen.width and screen.height to access the windows screen > size information, is there an equivalent command in batik? > > Any help is greatly appreciated. > > Thanks > Nathan. >
----- 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/

