views:

87

answers:

3

Is there a library that gives me a stable API upon which to handle mouse input for Javascript? All I wan't is mouse handling, but if tjere is a great library that doesn't affect other things too much thats also ok.

A: 

mootools...jquery (I prefer mootools). All are great, and can be customized to contain only the parts you need.

But really, 22k is so big for you?

Itay Moav
Its not size, my module currebtly has no dependencies, so I don't want to force my users to include stuff that may clash with what they are already using :/ Say if I choose MooTools, jQuery folk will be turned off and vice versa. I don't care about size one bit, just don't want to force stuff on people.
Robert Gould
All the major libraries should work with one another without collisions. I tried Jquery and Mootools on the same application without any problems. I believe Dojo will prove the same stability.
Itay Moav
A: 

dojotoolkit. But I think this will be a holy war

Rodrigo
Oh yeah, My crusaders are on their way to do DOS attack Muahhahahah.Seriously, I think it is in our best interest to keep alive most of the major JS libraries. Monopols are not good for us.
Itay Moav
+1  A: 

"Mouse handling" seems a bit vague, but here's a couple of plugins to the jQuery library that might interest you:

karim79
Thanks, this is the closest thing to a real answer :)
Robert Gould