{html_head} {/html_head}

Slimi

{'Open picture'|@translate}
Lightbox
{'Picture page'|@translate}
{footer_script}{literal} jQuery(function($){ $('.range').each(function(){ var cls = $(this).attr('class'); var matches = cls.split(/([a-zA-Z]+)\-([0-9]+)/g); var elem = $(this).parent(); var options = {}; var input = elem.find('input'); elem.append('
'); for(i in matches){ i = i * 1; if(matches[i] == 'min'){ options.min = matches[i+1]*1; } if(matches[i] == 'max'){ options.max = matches[i+1]*1; } } options.slide = function(event, ui){ elem.find('label span').empty().append(ui.value); input.val(ui.value); } options.value = input.val(); options.range = 'min'; elem.find('.uirange').slider(options); elem.find('label span').empty().append(input.val()); input.hide(); }); }); {/literal}{/footer_script}
{'Color of theme'|@translate}

{footer_script}{literal} $(document).ready(function() { 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'); }); }); {/literal}{/footer_script}