As much as I like MooTools and plugins like LightBox, I have a beef
with how those plugins all alter the default behavior of the browser.
Specifically, they seem to break the shortcut keys to open new tabs
and windows since they treat any type of click as a request to open
the lightbox and thus disable the default action on the link. They
also take us back to the synchronous nature of the web as viewing
images with these types of plugins can no longer be queued. Tabs are
the best thing since sliced bread and we should be able to use them
even if you have a cool viewer embedded in your page.

I'm working on some stuff and I want to get around this problem but
the main problem is that there is no "keycode" property on a mouse
click type of event. I've had to resort to something like this clip to
achieve the desired effect: http://pastie.org/639786 So far this logs
correctly whether the command key was pressed while clicking the
'test' element.

What I'd like to see is plugins that detect clicks with modifier keys
like "command" on the Mac or "control" on Windows. Then maybe we could
recover my ability to open images in new tabs when viewing a gallery.
Any tips on how to proceed?

Reply via email to