Interesting... typically shift+click isn't an event that is captured by Javascript, because it's not low-level enough (such as C). But.. there is the keydown event, so in theory you can detect when the shift key is pressed down (see the coding example on
this page) and when a key is released (keyup), so I don't see why you couldn't turn a boolean variable on when shift is pressed down and back off when shift is released, and then you can check inside your click event function to see if that variable is on or off (which would indicate if shift is pressed or not). I'll have to try that out; it could come in handy.