The event object is being printed to the console in #7. Just view the
console (in Firebug for Firefox, or Chrome has its own console) to see the
contents of the Event object. Then you can drill down to pull the items you
need, like...

e.event.offsetX
e.event.offsetY

where 'e' is the event object. There are many other properties that you may
find useful as well. Have a look.

Happy coding,
~Philip


On Wed, Aug 31, 2011 at 9:53 AM, netSQL <[email protected]> wrote:

> I like 7 the best.
>
> How would I print mouse x/y with an approach like that?
>
> traditional event lets me do that in my example at top of the thread).
>
>
> >
> >    http://jsfiddle.net/nU5Ex/7/
> >
> > Using  bind,  you  have to rebind `this` to preserve traditional event
> > listener behavior, which makes it more confusing IMO.
> >
> > -- S.
>



-- 
http://lonestarlightandsound.com/

Reply via email to