300
| <![CDATA[<script type="text/javascript">
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
$(document).ready(function(){
$('.high').click(function(){
$('section').css('background-color', '#000');
$('footer').css('background-color', '#000');
$('#sp-header').css('background-color', '#000');
$('debug').css('background-color', '#000');
$('section').css('color', 'green');
$('a').css('color', 'green');
});
});
$(document).ready(function(){
$('.low').click(function(){
$('section').css('background-color', '#FFF');
$('footer').css('background-color', '#5AADDD');
$('#sp-header').css('background-color', '#828385 !important');
$('debug').css('background-color', '#FFF');
$('section').css('color', '#000');
$('a').css('color', '#5AADDD');
$('.fa').css('color', '#999999');
$('#sp-top-bar').css('background-color','#F5F5F5');
});
});
jQuery(function ($) {
initChosen();
$("body").on("subform-row-add", initChosen);
function initChosen(event, container)
{
container = container || document;
$(container).find(".advancedSelect").chosen({"disable_search_threshold":10,"search_contains":true,"allow_single_deselect":true,"placeholder_text_multiple":"Digite ou selecione algumas op\u00e7\u00f5es","placeholder_text_single":"Selecione uma op\u00e7\u00e3o","no_results_text":"Selecione alguma op\u00e7\u00e3o"});
}
});
jQuery(document).ready(function() {
var value, searchword = jQuery('#mod-finder-searchword98');
// Get the current value.
value = searchword.val();
// If the current value equals the default value, clear it.
searchword.on('focus', function ()
{
var el = jQuery(this);
if (el.val() === 'Pesquisar...')
{
el.val('');
}
});
// If the current value is empty, set the previous value.
searchword.on('blur', function ()
{
var el = jQuery(this);
if (!el.val())
{
el.val(value);
}
});
jQuery('#mod-finder-searchform98').on('submit', function (e)
{
e.stopPropagation();
var advanced = jQuery('#mod-finder-advanced98');
// Disable select boxes with no value selected.
if (advanced.length)
{
advanced.find('select').each(function (index, el)
{
var el = jQuery(el);
if (!el.val())
{
el.attr('disabled', 'disabled');
}
});
}
});
var suggest = jQuery('#mod-finder-searchword98').autocomplete({
serviceUrl: '/index.php/component/finder/?task=suggestions.suggest&format=json&tmpl=component',
paramName: 'q',
minChars: 1,
maxHeight: 400,
width: 300,
zIndex: 9999,
deferRequestBy: 500
});});
</script>]]>
|
402
| <![CDATA[<script type="text/javascript">
$(document).ready(function(){
$('.high').click(function(){
$('section').css('background-color', '#000');
$('footer').css('background-color', '#000');
$('header').css('background-color', '#000');
$('debug').css('background-color', '#000');
$('section').css('color', 'white');
$('ol').css('background-color', '#000');
$('#sp-header').css('background-color', 'black');
$('#breadcrumb').css('color', 'white');
$('.sp-dropdown').css('background-color', '#000');
$('.sp-dropdown-inner').css('background-color', '#000');
$('a').css('color', 'white');
$('#sp-header-sticky-wrapper').css('background', 'black');
$('article').css('background-color', '#000');
$('.sticky-wrapper.is-sticky #sp-header').css('background-color', '#000');
$('.sp-megamenu-parent >.sp-menu-item:hover > a, .sticky-wrapper.is-sticky .sp-megamenu-parent >.sp-menu-item:hover >a').css('background-color', '#fff');
});
});
$(document).ready(function(){
$('.low').click(function(){
$('section').css('background-color', '#FFF');
$('footer').css('background-color', '#5AADDD');
$('#sp-header').css('background-color', '#f9f9f9');
$('#sp-header').css('color', '#3f3f3f');
$('debug').css('background-color', '#FFF');
$('section').css('color', '#000');
$('ol').css('background-color', '#FFF');
$('#breadcrumb').css('color', '#777');
$('.sp-dropdown').css('background-color', '#f9f9f9');
$('.sp-dropdown-inner').css('background-color', '#f9f9f9');
$('a').css('color', '#000');
$('article').css('background-color', 'white');
$('.fa').css('color', '#999999');
$('#entry-header').css('color', '#3f3f3f');
$('#sp-top-bar').css('background-color','#546e7a');
$('#sp-top-bar').css('color','#FFF');
$('#sp-top-bar a').css('color','#FFF');
$('#sp-top-bar .fa').css('color','#FFF');
$('#sp-menu a').css('color', '#3f3f3f');
$('#sp-bottom').css('background-color', '#f5f5f5');
$('#sp-separador-2').css('background-color','#546e7a');
$('#sp-informacoes-rodape').css('background-color','#546e7a');
$('#sp-informacoes-rodape').css('color', '#FFFFFF');
$('#sp-informacoes-rodape a').css('color', '#FFFFFF');
});
});
</script>]]>
|