i was not being sarcastic... your version was quite nice, just needed a lil
smoothing.
for a scripta version i'll check it out
On Mon, Dec 1, 2008 at 8:12 PM, Diodeus [EMAIL PROTECTED] wrote:
It was more about solving the problem of how to do it, and getting a
little more practice in OO
That's very nice. Smoother than the one I've put together.
On Dec 1, 9:49 am, julien Devouassoud [EMAIL PROTECTED] wrote:
check this out :
http://www.ndesign-studio.com/blog/design/css-dock-menu/http://www.javascriptfr.com/telecharger.aspx?ID=26334
On Mon, Dec 1, 2008 at 2:42 PM, Diodeus
It was more about solving the problem of how to do it, and getting a
little more practice in OO programming, than being the first to do it.
Regardless, there isn't a scriptaculous version floating around yet.
Based on the links you posted I have discovered room for improvement.
It's turning out
You probably want to do something like:
mouseClick:. arguments[1].onClick || function(){}
and then, in your code, you hook up the click like so:
myelement.on(click, options.mouseClick);
which hooks the click event to the passed in function. If you need to do
other processing first, try: