25
| <![CDATA[<script type="text/javascript">
function vincularAncora(from, to) {
$(from).click(function() {
if($(to).is(':input')) {
$(to).focus().select();
} else {
window.location.hash = null;
window.location.hash = to;
}
});
};
$(function() {
vincularAncora('#link-conteudo', '#content');
vincularAncora('#link-navegacao', '#navigation');
vincularAncora('#link-busca', '#s');
vincularAncora('#link-rodape', '#footer');
vincularAncora('#voltar-topo a', '#wrapper');
});
</script>]]>
|
276
| <![CDATA[<script>
$(document).ready(function() {
var time = 7; // time in seconds
var $progressBar,
$bar,
$elem,
isPause,
tick,
percentTime;
//Init the carousel
$("#owl-demo").owlCarousel({
slideSpeed : 500,
paginationSpeed : 500,
singleItem : true,
afterInit : progressBar,
afterMove : moved,
startDragging : pauseOnDragging
});
//Init progressBar where elem is $("#owl-demo")
function progressBar(elem){
$elem = elem;
//build progress bar elements
buildProgressBar();
//start counting
start();
};
//create div#progressBar and div#bar then prepend to $("#owl-demo")
function buildProgressBar(){
$progressBar = $("<div>",{
id:"progressBar"
});
$bar = $("<div>",{
id:"bar"
});
$progressBar.append($bar).prependTo($elem);
};
function start() {
//reset timer
percentTime = 0;
isPause = false;
//run interval every 0.01 second
tick = setInterval(interval, 10);
};
function interval() {
if(isPause === false){
percentTime += 1 / time;
$bar.css({
width: percentTime+"%"
});
//if percentTime is equal or greater than 100
if(percentTime >= 100){
//slide to next item
$elem.trigger('owl.next')
};
};
};
//pause while dragging
function pauseOnDragging(){
isPause = true;
};
//moved callback
function moved(){
//clear interval
clearTimeout(tick);
//start again
start();
};
});
</script>]]>
|
642
| <![CDATA[<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://ew.dataprev.gov.br/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '38']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>]]>
|
657
| <![CDATA[<script>window.w3tc_lazyload=1,window.lazyLoadOptions={elements_selector:".lazy",callback_loaded:function(t){var e;try{e=new CustomEvent("w3tc_lazyload_loaded",{detail:{e:t}})}catch(a){(e=document.createEvent("CustomEvent")).initCustomEvent("w3tc_lazyload_loaded",!1,!1,{e:t})}window.dispatchEvent(e)}}</script>]]>
|