Last change
on this file since 6582 was
6515,
checked in by vdigital, 14 years ago
|
2.1.b fixes first release bugs:
- Default user level is fixed
- Default selectors review ( photoWidget could not be supported )
- Lightbox, HD Shadowbox and akBookStyle are supported
- Merge of selectors ( default and customized ) is fixed
- jQuery generated has been reviewed and simplified
|
File size:
535 bytes
|
Line | |
---|
1 | {known_script id="jquery" src=$ROOT_URL|cat:"themes/default/js/jquery.packed.js"} |
---|
2 | {html_head} |
---|
3 | <!-- Protected images by the "rightClick" plugin (version {$RIGHTCK.Version}): {$RIGHTCK.Dir}/template/rightClick_protect.tpl --> |
---|
4 | <script type="text/javascript"> |
---|
5 | jQuery(document).ready(function($) {ldelim} |
---|
6 | {foreach item=selector from=$RIGHTCK.Selectors name=select} |
---|
7 | $('{$selector}').each( function() {ldelim} |
---|
8 | $(this)[0].oncontextmenu = function() {ldelim} |
---|
9 | return false; |
---|
10 | } |
---|
11 | }); |
---|
12 | {/foreach} |
---|
13 | }); |
---|
14 | </script> |
---|
15 | {/html_head} |
---|
Note: See
TracBrowser
for help on using the repository browser.