69
| <![CDATA[<script type="text/javascript">
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
if (typeof RokBoxSettings == 'undefined') RokBoxSettings = {pc: '100'};
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(function($){ initTooltips(); $("body").on("subform-row-add", initTooltips); function initTooltips (event, container) { container = container || document;$(container).find(".hasTooltip").tooltip({"html": true,"container": "body"});} });
jQuery(document).ready(function() {
var value, searchword = jQuery('#mod-finder-searchword277');
// 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-searchform277').on('submit', function (e)
{
e.stopPropagation();
var advanced = jQuery('#mod-finder-advanced277');
// 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-searchword277').autocomplete({
serviceUrl: '/home/index.php/component/finder/?task=suggestions.suggest&format=json&tmpl=component',
paramName: 'q',
minChars: 1,
maxHeight: 400,
width: 300,
zIndex: 9999,
deferRequestBy: 500
});});
if (typeof RokSprocket == 'undefined') RokSprocket = {};
Object.merge(RokSprocket, {
SiteURL: 'https://www.camaratabapua.sp.gov.br/home/',
CurrentURL: 'https://www.camaratabapua.sp.gov.br/home/',
AjaxURL: 'https://www.camaratabapua.sp.gov.br/home/index.php?option=com_roksprocket&task=ajax&format=raw&ItemId=169'
});
window.addEvent('domready', function(){
RokSprocket.instances.grids = new RokSprocket.Grids();
});
window.addEvent('domready', function(){
RokSprocket.instances.grids.attach(361, '{"animations":["fade","scale","rotate"],"displayed":[2,3,4,5,7,1,9,8,6]}');
});
</script>]]>
|