{combine_css path="$PWG_PHOTO_WIDGET_PLUGIN_CSS/admin.css"} {combine_css path="themes/default/js/plugins/chosen.css"} {combine_css path="$PWG_PHOTO_WIDGET_PLUGIN_CSS/colorpicker.css"} {combine_script id="jquery.chosen" load="footer" path="themes/default/js/plugins/chosen.jquery.min.js"} {combine_script id="colorpicker" require="jquery" path="$PWG_PHOTO_WIDGET_PLUGIN_JS/colorpicker.js"} {footer_script require="colorpicker"} {literal} $(function() { $('input.pwg-picker') .each(function() { if ($(this).val() !== undefined) { $(this).css('background-color', '#'+$(this).val()); } }) .ColorPicker({ onSubmit: function(hsb, hex, rgb, el) { $(el).val(hex); $(el).ColorPickerHide(); $(el).css('background-color', '#'+hex); }, onBeforeShow: function () { $(this).ColorPickerSetColor(this.value); } }) .bind('keyup', function(){ $(this).ColorPickerSetColor(this.value); }); }); {/literal} {/footer_script} {footer_script require="jquery.chosen"} {literal} $(function() { $('input[name=pw_all_categories]').change(function() { if ($(this).attr('value')==0) { $('#pw-select-categories').removeClass('hide'); } else { $('#pw-select-categories').addClass('hide'); } }); $('#pw-select-categories select').chosen(); }); {/literal} {/footer_script}
{'That plugin display pictures using a flash movie that rotates them in 3D. It works like regulars categories but in a more amazing and exciting way.'|@translate}
{'You can choose that mode for displaying one, severals or all categories'|@translate}