This example demonstrates how to detect which mouse button was pressed.
Example One: click this link while pressing right or left mouse buttonClick the link below while pressing right or left mouse button
Example Two: click this link to see while pressing right or left mouse button.
---Messages for both examples follow---