I want to get the dimensions of the current viewport that's being used
to show a document in Batik.  The document has no viewBox.  The document
uses a script function called from the svg element's onresize to show
the dimensions in a text element, but the dimensions shown are always
the initial dimensions.

I'm using

  svg.width.baseVal.value

and

  svg.height.baseVal.value

to get the width and height.  Is this correct?

The complete example is at

  http://www.csse.monash.edu.au/~clm/local/dimensions.svg

Thanks,

Cameron

-- 
Cameron McCormack
  // [EMAIL PROTECTED]
  // http://www.csse.monash.edu.au/~clm/
  // icq 26955922

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to