214
| <![CDATA[<div class="d-flex" style="width: 100%; gap: 8px;">
<form action="views/busca/index.php" method="GET" onsubmit="return checkquery()" style="flex-grow: 1;">
<input type="hidden" name="action" value="redirect">
<input type="search" name="query" id="query" placeholder="Busca no Portal">
<input type="submit" value="buscar">
</form>
<ul id="rs">
<li><a href="https://www.facebook.com/preflp" title="https://www.facebook.com/preflp" target="_blank">Facebook</a></li>
<li><a href="http://www.twitter.com/preflp" title="http://www.twitter.com/preflp" target="_blank">Twitter</a></li>
<li><a href="https://www.youtube.com/channel/UC8FGc6nNQKBJApAeLpjWjqg" title="https://www.youtube.com/channel/UC8FGc6nNQKBJApAeLpjWjqg" target="_blank">Youtube</a></li>
</ul>
</div>]]>
|
215
| <![CDATA[<form action="views/busca/index.php" method="GET" onsubmit="return checkquery()" style="flex-grow: 1;">
<input type="hidden" name="action" value="redirect">
<input type="search" name="query" id="query" placeholder="Busca no Portal">
<input type="submit" value="buscar">
</form>]]>
|
294
| <![CDATA[<div class='ac-panel' style='display: block;'>]]>
|
64
| <![CDATA[<style>
.ac-accordion {
background-color: #007DD0;
color: #fff;
cursor: pointer;
padding: 18px;
width: 100%;
margin-bottom: 20px;
border: none;
text-align: left;
outline: none;
font-size: 15px;
-webkit-transition: 0.9s;
transition: 0.9s;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
}
.ac-active, .ac-accordion:hover {
background-color: #015fa0;
}
.ac-panel {
padding: 18px 18px 18px 18px;
display: none;
background-color: white;
overflow: hidden;
margin-bottom: 20px;
margin-top: -20px;
border-bottom: 2px #007DD0 solid;
border-left: 2px #007DD0 solid;
border-right: 2px #007DD0 solid;
-webkit-transition: 0.9s;
transition: 0.9s;
}
</style>]]>
|
53
| <![CDATA[<script>
//Google Analytics
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40755062-1', 'sp.gov.br');
ga('require', 'displayfeatures');
ga('send', 'pageview');
</script>]]>
|
396
| <![CDATA[<script type="text/javascript">
$('.openmenu').on('click', 'a', function (e) {
e.preventDefault();
var $nav = $('nav'),
$this = $(this);
if ($this.hasClass('close')) {
$nav.removeClass('open');
$this.removeClass('close');
} else {
$nav.addClass('open');
$this.addClass('close');
}
});
$(window).load(function () {
$('#bannerTopo').nivoSlider({
effect: 'sliceDown',
pauseTime: 5000,
directionNav: false
});
});
//Checa campo de busca
function checkquery() {
$val = $('#query').val();
if ($val.length < 3) {
$('#search').find('span').text('Termo muito curto.').show().animate({
top: '10px'
}, 100);
return false;
}
return true;
}
$('#query').on('focus', function () {
$('#search').find('span').hide().animate({
top: 0
}, 100);
});
//Fixed Menu
$nav = $('nav');
$navHeight = $nav.height();
$vdistance = $nav.offset().top;
$(window).on('scroll', function () {
if ($(window).scrollTop() >= ($vdistance) && $('.openmenu').is(':hidden')) {
$('#navDecoi').css({'height': $navHeight + 'px'});
$nav.addClass('fixedNav');
} else {
$('#navDecoi').css({'height': '0px'});
$nav.removeClass('fixedNav');
}
});
$(function () {
//Back to Top
$('#backTop').on('click', function (e) {
e.preventDefault();
$('html, body').animate({scrollTop: 0}, 600);
});
});
</script>]]>
|
459
| <![CDATA[<script>
var acc = document.getElementsByClassName("ac-accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function () {
this.classList.toggle("ac-active");
var panel = this.nextElementSibling;
if (panel.style.display === "block") {
panel.style.display = "none";
} else {
panel.style.display = "block";
}
});
}
</script>]]>
|