Ignore:
Timestamp:
May 4, 2011, 5:14:41 PM (13 years ago)
Author:
Gotcha
Message:

First revision for compatiblity with Piwigo v2.2
Not work !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Flash_Gallery/modules/AutoViewer/admin/config.tpl

    r3531 r10757  
     1{combine_css path="./plugins/Flash_Gallery/farbtastic/farbtastic.css"}
     2{combine_script id='jquery.farbtastic' require='jquery' path="./plugins/Flash_Gallery/farbtastic/farbtastic.js"}
     3
     4{footer_script require='jquery.farbtastic,jquery.ui.resizable'}{literal}
     5 jQuery(document).ready(function() {
     6     var f = jQuery.farbtastic('#colorpicker');
     7     var selected;
     8     jQuery('.colorwell')
     9       .each(function () { f.linkTo(this);  })
     10       .focus(function() {
     11        f.linkTo(this);
     12       });
     13  });
     14{/literal}{/footer_script}
     15
    116<br>
    217<div id="colorpicker" style="float: right;"></div>     
     
    3853       
    3954</table>
    40 
    41 {literal}
    42 
    43 <script type="text/javascript" charset="utf-8">
    44  $(document).ready(function() {
    45      var f = $.farbtastic('#colorpicker');
    46      var selected;
    47      $('.colorwell')
    48        .each(function () { f.linkTo(this);  })
    49        .focus(function() {
    50         f.linkTo(this);
    51 
    52        });
    53   });
    54 </script>
    55 {/literal}
    56        
Note: See TracChangeset for help on using the changeset viewer.