Thanks Cameron,
is there any clean way to test per ECMAScript whether a DOM method is
present and implemented?
In my case "alert(document.documentElement.suspendRedraw)" returns true,
but I can't see if it is actually working.
My problem is that some browsers implement suspendRedraw and others
don't and I have to test if the method is available.
I tried with try/catch but it did not work either.
Thanks for any ideas,
Andreas
Cameron McCormack wrote:
Hi Andreas.
Andreas Neumann:
When I use SVGSVGElement.suspendRedraw() in my example I get the
following error:
…
My impression is, that the method is there, but not functional?
Yes, the methods are present but all they currently do is
throw new Error();
--
----------------------------------------------
Andreas Neumann
Institute of Cartography
ETH Zurich
Wolfgang-Paulistrasse 15
CH-8093 Zurich, Switzerland
Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
e-mail: [EMAIL PROTECTED]
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]