source:
extensions/rightClick/template/rightClick_protect.tpl
@
18497
Last change on this file since 18497 was 9982, checked in by , 14 years ago | |
---|---|
File size: 389 bytes |
Line | |
---|---|
1 | {footer_script require="jquery"} |
2 | <!-- Protected images by the "rightClick" plugin (version {$RIGHTCK.Version}): {$RIGHTCK.Dir}/template/rightClick_protect.tpl --> |
3 | jQuery(document).ready(function() {ldelim} |
4 | jQuery('{','|@implode:$RIGHTCK.Selectors}').each( function() {ldelim} |
5 | jQuery(this)[0].oncontextmenu = function() {ldelim} |
6 | return false; |
7 | } |
8 | }); |
9 | }); |
10 | {/footer_script} |
Note: See TracBrowser
for help on using the repository browser.