1 | function WW_processclick(e) { // Process Mouse Click |
2 | var clickX = WW_eventx(e); // Extract Mouse Click Position |
3 | var clickY = WW_eventy(e); |
4 | // Position Top right of pointer at mouse click |
5 | var width = WW_getlayerwidth(WW_pointerlayer); |
6 | WW_layershiftto(WW_pointerlayer,clickX-width,clickY); |
7 | WW_layershow(WW_pointerlayer); // Make pointer visible |
8 | WW_layertotop(WW_pointerlayer); // set zindex=1000 |
9 | WW_offpointerblock(); // remove stray mouseover messages |
10 | window.status = 'click'; // flag action |
11 | // true implies that you continue conventional processing i.e. |
12 | return true; // that clicks on links are recognized |
13 | } // End WW_processclick(e) |