61
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function (){
jQuery('select').chosen({"disable_search_threshold":10,"search_contains":true,"allow_single_deselect":true,"placeholder_text_multiple":"Selecione alguma op\u00e7\u00e3o","placeholder_text_single":"Selecione uma op\u00e7\u00e3o","no_results_text":"Sem resultados correspondentes"});
});
jQuery(function() {
jQuery('#finder-search').on('submit', function(e){
e.stopPropagation();
// Disable select boxes with no value selected.
jQuery('#advancedSearch').find('select').each(function(index, el) {
var el = jQuery(el);
if(!el.val()){
el.attr('disabled', 'disabled');
}
});
});
var suggest = jQuery('#q').autocomplete({
serviceUrl: '/index.php/contato/ao-cidadao/reg-ocorrencia-teste/vei-recuperados.json?task=suggestions.suggest&tmpl=component',
paramName: 'q',
minChars: 1,
maxHeight: 400,
width: 300,
zIndex: 9999,
deferRequestBy: 500
});
});
jQuery(document).ready(function($) {
$('.navigation-toggle-172').sidr( {
name : 'sidr-main',
source : '#sidr-close, #gruemenu',
side : 'left',
displace : false
} );
$('.sidr-class-toggle-sidr-close').click( function() {
$.sidr( 'close', 'sidr-main' );
return false;
} );
});
jQuery(window).touchwipe({
wipeLeft: function($) {
// Close
$.sidr('close', 'sidr-main');
},
wipeRight: function($) {
// Open
$.sidr('open', 'sidr-main');
},
preventDefaultEvents: false
});
/*=== EASY GOOGLE ANALYTICS : START TRACKING CODE ===*/
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-65592823-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
/*=== EASY GOOGLE ANALYTICS : END TRACKING CODE ===*/
</script>]]>
|