35
| <![CDATA[<script>
document.addEventListener("DOMContentLoaded", function(){
// make it as accordion for smaller screens
//if (window.innerWidth < 992) {
// close all inner dropdowns when parent is closed
document.querySelectorAll('.navbar .dropdown').forEach(function(everydropdown){
everydropdown.addEventListener('hidden.bs.dropdown', function () {
// after dropdown is hidden, then find all submenus
this.querySelectorAll('.submenu').forEach(function(everysubmenu){
// hide every submenu as well
everysubmenu.style.display = 'none';
});
})
});
document.querySelectorAll('.dropdown-menu a').forEach(function(element){
element.addEventListener('click', function (e) {
let nextEl = this.nextElementSibling;
if(nextEl && nextEl.classList.contains('submenu')) {
// prevent opening link if link needs to open dropdown
e.preventDefault();
if(nextEl.style.display == 'block'){
nextEl.style.display = 'none';
} else {
nextEl.style.display = 'block';
}
}
});
})
//}
// end if innerWidth
});
$(document).on('click.bs.dropdown.data-api', '.keep-open', function (e) {
e.stopPropagation();
});
</script>]]>
|
120
| <![CDATA[<script type="text/javascript">
$b = jQuery.noConflict();
$b(document).ready(function(e){
$b('body').show();
setTimeout(function(e){
$b("#field-filter-data").mask("99/99/9999")
},1000);
});
// $.post(
// 'https://graph.facebook.com',
// {
//id: 'http://www.alepe.pe.gov.br/?post_type=page&p=5066',
// scrape: true
// },
// function(response){
// console.log(response);
// }
// );
</script>]]>
|
1337
| <![CDATA[<script>
</script>]]>
|
2507
| <![CDATA[<script language="javascript">
var $photo = jQuery.noConflict()
$photo(document).ready(
function (){
$photo(".pikame").PikaChoose();
});
</script>]]>
|
2702
| <![CDATA[<script>
$(function() {
// Banner
$('#banner-slider').bxSlider({
easing: 'easeInOutExpo',
pager: true,
controls: true,
pause: 7000,
auto: true
});
$(".accordion").accordion({
collapsible: true,
active: false,
heightStyle: "content"
});
$('#player-home .rlink').attr({
href: "javascript:void(null);",
onclick: "location.href='/radio-alepe'",
title: "Ir para a página da Rádio Alepe"
});
});
</script>]]>
|