Posts Tagged ‘script’


Fixing Lightbox’s click handling issues

Browsers have mechanisms to distinguish between a left click and a right click, but there are other types of clicks like clicks with shortcut keys that often get overlooked. These tend to perform specific behaviors like opening a new tab, so they should be treated differently than a normal click. With a bit of MooTools scripting, we can check for these types of clicks and take action as needed.

Continue Reading...

Tags: , , ,