you should try to use Event.observe(elt, "click", func)
when func is a function that take "event" as first argument

if you don't want, should can try to do something like :
var myrules = {
'body' : function(){
el.>
alert(Event.pointerX (event || window.event));
}
}
};


On 1/16/06, Alex Duffield <[EMAIL PROTECTED]> wrote:
is there a way to take advantage of prototypes Event.pointerX when using Behaviour to manage my events?


somthing like.. 


var myrules = {
'body' : function(el){
el.>
alert(Event.pointerX(e));
}
}
};


thanks

______________________________________________________________________

Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  





_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to