{combine_script id='slider' load='footer' require='jquery' path='themes/default/js/ui/minified/jquery.ui.slider.min.js'} {combine_script id='button' load='footer' require='jquery' path='themes/default/js/ui/minified/jquery.ui.button.min.js'} {combine_script id='farbtastic' load='footer' require='jquery' path='themes/Slimi/admin/js/farbtastic.js'} {combine_css path="themes/Slim/admin/jquery.ui.button.custom.css" order=-10} {combine_css path="themes/default/js/ui/theme/jquery.ui.slider.css" order=-10} {combine_css path="themes/Slimi/admin/theme.css" order=-10} {footer_script}{literal} (function($) { $(document).ready(function() { $('#option').buttonset(); var f = $.farbtastic('#picker'); var p = $('#picker').css('opacity', 1); var selected; $('.colorwell') .each(function () { f.linkTo(this); $(this).css('opacity', 1); }) .focus(function() { if (selected) { $(selected).css('opacity', 1).removeClass('colorwell-selected'); } f.linkTo(this); p.css('opacity', 1); $(selected = this).css('opacity', 1).addClass('colorwell-selected'); }); $(function() { $('#slider-range-max').slider({ range: "max", min: 1, max: 20, value: {/literal}{$selected_carousel_speed}{literal}, slide: function( event, ui ) { $('#carspeed').val( ui.value ); } }); $('#carspeed').val( $('#slider-range-max').slider('value')); }); }); })(jQuery); {/literal}{/footer_script}

Slimi

{'Open picture'|@translate}

{'Color of theme'|@translate}

{'Carousel'|@translate}