Hi, David-
It's not:
evt.clientX();
it's:
evt.clientX;
"getBBox()" is also supported, although there does seem to be something
buggy about it. I haven't troubled to track it down, but I think it only
works on visible, rendered objects. This behavior may or may not be correct,
but certainly is inconvenient when you are trying to predetermine, say, the
size of a text block in order to wrap a rectangle around it... which means
it will end up getting rendered twice, possibly with a flicker... so,
another performance hit.
Regards-
Doug
[EMAIL PROTECTED]
www.vectoreal.com ...for scalable solutions.
ddailey wrote:
|
| Thanks Antoine, but no luck.
|
| I tried this:
| function putit(evt){
| alert("happy")
| alert(evt.clientX())
| }
|
| The first alert() fires just fine -- the second is ignored
| (as is everything after it).
|
| Having not had experience with beta software for about 20
| years, I went ahead and reported it to the Mozilla folks --
| hopefully I was not too hasty.
|
| dd
| ----- Original Message -----
| From: "Antoine Quint" <[EMAIL PROTECTED]>
| To: <[email protected]>
| Sent: Sunday, October 16, 2005 10:34 AM
| Subject: Re: [svg-developers] getClientX() and getBBox() not
| in Firefox 1.5?
|
|
| On 16 oct. 2005, at 16:24, ddailey wrote:
|
| > I tried to work around the aparent absence of these things with
| > statements
| > like:
| >
| > if (evt.getClientX()) { .. do something ...}
|
| getClientX() is not a standard method of the DOM, you should just use
| "evt.clientX" instead. I'm pretty sure that'll work in Firefox.
|
| Antoine
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/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/