event.clientX is a property, not a function...

Try:

function putit(evt){
 alert("happy")
 alert(evt.clientX)
}

Cheers,
Alastair

--- In [email protected], "ddailey" <[EMAIL PROTECTED]> 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/
 



Reply via email to