142
| <![CDATA[<div layout-full class="row-fluid" style="background-color: rgb(140, 207, 200); background-repeat: no-repeat; background-position: 50% 50%; margin-top: ; margin-bottom: ; padding: "><div class="span10" row="" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px; display: flex; flex-direction: column; justify-content: center;"><login layout="login04" align="left" showSignUp="false" urlSignUp="#"></login></div><div class="span2" row="" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px; display: flex; flex-direction: column; justify-content: center;"><acessibilidade bgcolor="rgb(43, 197, 182)" bgcoloractive="rgb(0, 151, 136)" radiustop="20" radiusbottom="20" radiusbuttom="20"></acessibilidade></div></div>]]>
|
142
| <![CDATA[<div class="span10" row="" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px; display: flex; flex-direction: column; justify-content: center;"><login layout="login04" align="left" showSignUp="false" urlSignUp="#"></login></div>]]>
|
142
| <![CDATA[<div class="span2" row="" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px; display: flex; flex-direction: column; justify-content: center;"><acessibilidade bgcolor="rgb(43, 197, 182)" bgcoloractive="rgb(0, 151, 136)" radiustop="20" radiusbottom="20" radiusbuttom="20"></acessibilidade></div>]]>
|
142
| <![CDATA[<div layout-full class="row-fluid" style="background-color: ; background-repeat: no-repeat; background-position: 50% 50%; margin-top: ; margin-bottom: ; padding: "><div class="span6" row="" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px; display: flex; flex-direction: column; justify-content: center;"><div class="component-imagem"><a href="https://portal.educacao.rs.gov.br/"><div ng-style="style(imagem.style)" class="divImg effect1 ng-scope" style="width: 410px; height: 68px; margin-bottom: 0px; margin-right: auto;"> <img picturefill="" ng-style="style(imagem.style)" ng-src="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" ng-srcset="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" data-mobileimage="" ng-class="imagem.cssClass" alt="" src="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" srcset="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" style="width: 410px; height: 68px; margin-bottom: 0px; margin-right: auto;"> <div class="caption"> <div class="blur" ng-style="{'background-color' : imagem.blurColor}"></div> <div class="square" ng-style="squareStyle()" style="display: none;"></div> <div class="caption-text" ng-style="cursorStyle()" style="cursor: pointer;"> <h1 ng-style="{'color' : imagem.captionColor}" class="ng-binding"></h1> <p ng-style="{'color' : imagem.captionColor}" style="margin: 0px 11px;" class="ng-binding"></p> </div> </div> </div></a></div></div><div class="span6" row="" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px; display: flex; flex-direction: column; justify-content: center;"><search textalign="right" borderradius="4" primarycolor="false"></search></div></div>]]>
|
142
| <![CDATA[<div class="span6" row="" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px; display: flex; flex-direction: column; justify-content: center;"><div class="component-imagem"><a href="https://portal.educacao.rs.gov.br/"><div ng-style="style(imagem.style)" class="divImg effect1 ng-scope" style="width: 410px; height: 68px; margin-bottom: 0px; margin-right: auto;"> <img picturefill="" ng-style="style(imagem.style)" ng-src="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" ng-srcset="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" data-mobileimage="" ng-class="imagem.cssClass" alt="" src="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" srcset="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" style="width: 410px; height: 68px; margin-bottom: 0px; margin-right: auto;"> <div class="caption"> <div class="blur" ng-style="{'background-color' : imagem.blurColor}"></div> <div class="square" ng-style="squareStyle()" style="display: none;"></div> <div class="caption-text" ng-style="cursorStyle()" style="cursor: pointer;"> <h1 ng-style="{'color' : imagem.captionColor}" class="ng-binding"></h1> <p ng-style="{'color' : imagem.captionColor}" style="margin: 0px 11px;" class="ng-binding"></p> </div> </div> </div></a></div></div>]]>
|
142
| <![CDATA[<div ng-style="style(imagem.style)" class="divImg effect1 ng-scope" style="width: 410px; height: 68px; margin-bottom: 0px; margin-right: auto;"> <img picturefill="" ng-style="style(imagem.style)" ng-src="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" ng-srcset="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" data-mobileimage="" ng-class="imagem.cssClass" alt="" src="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" srcset="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" style="width: 410px; height: 68px; margin-bottom: 0px; margin-right: auto;"> <div class="caption"> <div class="blur" ng-style="{'background-color' : imagem.blurColor}"></div> <div class="square" ng-style="squareStyle()" style="display: none;"></div> <div class="caption-text" ng-style="cursorStyle()" style="cursor: pointer;"> <h1 ng-style="{'color' : imagem.captionColor}" class="ng-binding"></h1> <p ng-style="{'color' : imagem.captionColor}" style="margin: 0px 11px;" class="ng-binding"></p> </div> </div> </div>]]>
|
142
| <![CDATA[<img picturefill="" ng-style="style(imagem.style)" ng-src="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" ng-srcset="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" data-mobileimage="" ng-class="imagem.cssClass" alt="" src="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" srcset="https://portal.educacao.rs.gov.br/Portals/1/Images/3354.jpg" style="width: 410px; height: 68px; margin-bottom: 0px; margin-right: auto;">]]>
|
142
| <![CDATA[<div class="square" ng-style="squareStyle()" style="display: none;"></div>]]>
|
142
| <![CDATA[<div class="caption-text" ng-style="cursorStyle()" style="cursor: pointer;"> <h1 ng-style="{'color' : imagem.captionColor}" class="ng-binding"></h1> <p ng-style="{'color' : imagem.captionColor}" style="margin: 0px 11px;" class="ng-binding"></p> </div>]]>
|
142
| <![CDATA[<p ng-style="{'color' : imagem.captionColor}" style="margin: 0px 11px;" class="ng-binding"></p>]]>
|
142
| <![CDATA[<div class="span6" row="" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px; display: flex; flex-direction: column; justify-content: center;"><search textalign="right" borderradius="4" primarycolor="false"></search></div>]]>
|
145
| <![CDATA[<section id="content" style="position: relative;">
<div skin-colors></div>
<style>
.album-list ul {
list-style: none;
}
.album-list ul li span {
display: block;
}
.album-list ul li {
display: list-item;
min-height: 100px;
overflow: hidden;
list-style: none;
}
.album-list ul li a img {
}
.album-list {
max-height: 600px;
display: block;
margin: 0 0 10px;
box-shadow: 0px 1px 2px rgba(0,0,0,.1);
box-sizing: border-box;
overflow: hidden;
padding: 0;
margin: 0;
overflow-y: auto;
}
.icon-PhotoAlbum {
color: inherit;
}
</style>
<div class="container-fluid">
<div class="row-fluid" ng-app="MainApp" ng-controller="ImageGalleryController">
<div class="span7">
<photo-album album-id="10016" album-name="NEM 3ª CRE" show-album-name="true" show-hd-image="true" featured-img-size="600"></photo-album>
</div>
<div class="span5 album-list" ng-init="loadMore(10016)">
<ul class="bold fs-sm">
<h4><i class="icon-PhotoAlbum"></i> Álbuns Relacionados</h4>
<li ng-repeat="item in albums">
<a class="bold" title="{{item.Name}}" href="/Main/Album/Visualizar/portalseduc/{{item.Id}}">
<img src="{{item.VirtualPathThumb}}" style="width:30%; height:80px; float:left; margin:5px 5px 20px 0;" />
<span class="bold fs-sm primary-color">{{item.ImageCreateDate | moment}}</span>
<span>{{item.Name}}</span>
</a>
</li>
<li ng-if="totalItems > albums.length">
<button class="btn btn-primary" ng-click="loadMore(10016)">Carregar mais álbuns</button>
</li>
</ul>
</div>
</div>
</div>
<button class="btn-scroll-top"><i class="icon-chevron-up"></i></button>
</section>]]>
|
197
| <![CDATA[<img src="{{item.VirtualPathThumb}}" style="width:30%; height:80px; float:left; margin:5px 5px 20px 0;" />]]>
|
216
| <![CDATA[<div layout-full class="row-fluid" style="background-color: rgb(14, 38, 47); background-repeat: no-repeat; background-position: 50% 50%; margin-top: ; margin-bottom: ; padding: 30px 0px"><div class="span12" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px; background-color: rgb(31, 33, 32);"><div layout-full class="row-fluid" style="background-color: ; background-repeat: no-repeat; background-position: 50% 50%; margin-top: ; margin-bottom: ; padding: "><div class="span12" data-scopename="row" style="height: auto; text-align: center; overflow-y: initial; border-radius: 0px; padding: 0px;"><h1 id="" style="font-weight: bold; font-style: normal; color: rgb(255, 255, 255); text-align: center;">Assuntos</h1></div></div><div layout-full class="row-fluid" style="background-color: ; background-repeat: no-repeat; background-position: 50% 50%; margin-top: ; margin-bottom: ; padding: "><div class="span2" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"></div><div class="span10" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"><tag-cloud color="rgb(255, 255, 255)" max="20" alt="alt3" base-font-size="14"></tag-cloud></div></div></div></div>]]>
|
216
| <![CDATA[<div class="span12" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px; background-color: rgb(31, 33, 32);"><div layout-full class="row-fluid" style="background-color: ; background-repeat: no-repeat; background-position: 50% 50%; margin-top: ; margin-bottom: ; padding: "><div class="span12" data-scopename="row" style="height: auto; text-align: center; overflow-y: initial; border-radius: 0px; padding: 0px;"><h1 id="" style="font-weight: bold; font-style: normal; color: rgb(255, 255, 255); text-align: center;">Assuntos</h1></div></div><div layout-full class="row-fluid" style="background-color: ; background-repeat: no-repeat; background-position: 50% 50%; margin-top: ; margin-bottom: ; padding: "><div class="span2" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"></div><div class="span10" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"><tag-cloud color="rgb(255, 255, 255)" max="20" alt="alt3" base-font-size="14"></tag-cloud></div></div></div>]]>
|
216
| <![CDATA[<div layout-full class="row-fluid" style="background-color: ; background-repeat: no-repeat; background-position: 50% 50%; margin-top: ; margin-bottom: ; padding: "><div class="span12" data-scopename="row" style="height: auto; text-align: center; overflow-y: initial; border-radius: 0px; padding: 0px;"><h1 id="" style="font-weight: bold; font-style: normal; color: rgb(255, 255, 255); text-align: center;">Assuntos</h1></div></div>]]>
|
216
| <![CDATA[<div class="span12" data-scopename="row" style="height: auto; text-align: center; overflow-y: initial; border-radius: 0px; padding: 0px;"><h1 id="" style="font-weight: bold; font-style: normal; color: rgb(255, 255, 255); text-align: center;">Assuntos</h1></div>]]>
|
216
| <![CDATA[<h1 id="" style="font-weight: bold; font-style: normal; color: rgb(255, 255, 255); text-align: center;">Assuntos</h1>]]>
|
216
| <![CDATA[<div layout-full class="row-fluid" style="background-color: ; background-repeat: no-repeat; background-position: 50% 50%; margin-top: ; margin-bottom: ; padding: "><div class="span2" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"></div><div class="span10" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"><tag-cloud color="rgb(255, 255, 255)" max="20" alt="alt3" base-font-size="14"></tag-cloud></div></div>]]>
|
216
| <![CDATA[<div class="span2" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"></div>]]>
|
216
| <![CDATA[<div class="span10" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"><tag-cloud color="rgb(255, 255, 255)" max="20" alt="alt3" base-font-size="14"></tag-cloud></div>]]>
|
216
| <![CDATA[<div layout-full class="row-fluid" style="background-color: rgb(0, 150, 135); background-repeat: no-repeat; background-position: 50% 50%; margin-top: ; margin-bottom: ; padding: "><div class="span6" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"><div style="color: #654f00;">
SEDUC - Secretaria da Educação do Rio Grande do Sul
</div>
<div style="color: #654f00;">
AV. BORGES DE MEDEIROS
</div>
<div style="color: #654f00;">
PRAIA DE BELAS - CEP:90119900
</div></div><div class="span3" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"></div><div class="span3" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"><icon iconselected="icon-youtube" link="http://www.youtube.com/user/governors2011" titleurl="" target="true" radiustop="0" radiusbottom="0" elemheight="32" marginleft="0" marginright="0" planofundo="false" color="rgb(255, 255, 255)"></icon><icon iconselected="icon-twitter" link="https://twitter.com/governo_rs" titleurl="" target="true" radiustop="0" radiusbottom="0" elemheight="32" marginleft="0" marginright="0" planofundo="false" color="rgb(255, 255, 255)"></icon><icon iconselected="icon-facebook" link="https://www.facebook.com/seducrs?ref=ts&fref=ts" titleurl="" target="true" radiustop="0" radiusbottom="0" elemheight="32" marginleft="0" marginright="0" planofundo="false" color="rgb(255, 255, 255)"></icon></div></div>]]>
|
216
| <![CDATA[<div class="span6" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"><div style="color: #654f00;">
SEDUC - Secretaria da Educação do Rio Grande do Sul
</div>
<div style="color: #654f00;">
AV. BORGES DE MEDEIROS
</div>
<div style="color: #654f00;">
PRAIA DE BELAS - CEP:90119900
</div></div>]]>
|
216
| <![CDATA[<div style="color: #654f00;">
SEDUC - Secretaria da Educação do Rio Grande do Sul
</div>]]>
|
219
| <![CDATA[<div style="color: #654f00;">
AV. BORGES DE MEDEIROS
</div>]]>
|
222
| <![CDATA[<div style="color: #654f00;">
PRAIA DE BELAS - CEP:90119900
</div>]]>
|
224
| <![CDATA[<div class="span3" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"></div>]]>
|
224
| <![CDATA[<div class="span3" data-scopename="row" style="height: auto; text-align: left; overflow-y: initial; border-radius: 0px; padding: 0px;"><icon iconselected="icon-youtube" link="http://www.youtube.com/user/governors2011" titleurl="" target="true" radiustop="0" radiusbottom="0" elemheight="32" marginleft="0" marginright="0" planofundo="false" color="rgb(255, 255, 255)"></icon><icon iconselected="icon-twitter" link="https://twitter.com/governo_rs" titleurl="" target="true" radiustop="0" radiusbottom="0" elemheight="32" marginleft="0" marginright="0" planofundo="false" color="rgb(255, 255, 255)"></icon><icon iconselected="icon-facebook" link="https://www.facebook.com/seducrs?ref=ts&fref=ts" titleurl="" target="true" radiustop="0" radiusbottom="0" elemheight="32" marginleft="0" marginright="0" planofundo="false" color="rgb(255, 255, 255)"></icon></div>]]>
|
232
| <![CDATA[<iframe src="//www.googletagmanager.com/ns.html?id=GTM-K4L3QD6"
height="0" width="0" style="display:none;visibility:hidden"></iframe>]]>
|
150
| <![CDATA[<style>
.album-list ul {
list-style: none;
}
.album-list ul li span {
display: block;
}
.album-list ul li {
display: list-item;
min-height: 100px;
overflow: hidden;
list-style: none;
}
.album-list ul li a img {
}
.album-list {
max-height: 600px;
display: block;
margin: 0 0 10px;
box-shadow: 0px 1px 2px rgba(0,0,0,.1);
box-sizing: border-box;
overflow: hidden;
padding: 0;
margin: 0;
overflow-y: auto;
}
.icon-PhotoAlbum {
color: inherit;
}
</style>]]>
|
664
| <![CDATA[<style>
.cookie-disclaimer {
background: #ededed !important;
width: 100%;
bottom: 0;
left: 0;
z-index: 999;
height: 110px;
position: fixed;
}
.cookie-disclaimer .cookie-text {
padding-left: 10%;
padding-right: 10%;
text-align: center;
padding-top: 20px;
padding-bottom: 20px;
}
</style>]]>
|
623
| <![CDATA[<button type="button" class="btn btn-success" id="acceptCookie" onclick="acceptCookie();">Eu concordo</button>]]>
|
624
| <![CDATA[<button type="button" class="btn btn-primary" id="closeCookie" onclick="closeCookie();">Lembrar mais tarde</button>]]>
|
235
| <![CDATA[<script>
(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'//www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-K4L3QD6');</script>]]>
|
247
| <![CDATA[<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-131478252-1']);
_gaq.push(['_setDomainName', 'portal.educacao.rs.gov.br']);
_gaq.push(['_setAllowLinker', true]);
_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);
})();
</script>]]>
|
265
| <![CDATA[<script>
function base_url(url) {
url = url || "";
return 'https://portal.educacao.rs.gov.br//' + url;
}
function base_area_url(url) {
url = url || "";
return 'https://portal.educacao.rs.gov.br//main/' + url;
}
function api_url(api) {
api = api || '';
api = api === '' ? api : '/' + api;
if (get_port() === '')
return base_url(api + '/:action/:port');
else
return 'https://portal.educacao.rs.gov.br//' + api + '/:action';
}
function api_area_url(api) {
api = api || '';
api = api === '' ? api : '/' + api;
if (get_port() === '')
return base_area_url(api + '/:action/:port');
else
return 'https://portal.educacao.rs.gov.br//main' + api + '/:action';
}
// Para corrigir pequeno bug do AngularJS
function get_port() {
return ":443";
}
function core_url(url) {
url = url ? ("/" + url) : "";
return 'https://gestaoescolar.educacao.rs.gov.br/' + url;
}
function template_url(directive, area, folder) {
folder = folder ? folder + '/' : '';
var path = folder + directive + '/' + directive + '.htm';
if (area) {
return base_url('areas/main/assets/js/directives/' + path);
}
else {
return base_url('assets/js/angular/directives/' + path);
}
}
function modal_url(modal) {
return base_url('areas/main/assets/js/modals/' + modal + '/' + modal + '.htm');
}
function template_url_main(directive, area, folder) {
folder = folder ? folder + '/' : '';
var path = folder + directive + '/' + directive + '.htm';
return base_url('areas/main/assets/js/directives/' + path);
}
function current_portal_url() {
return "/Portals/1";
}
function redirect(a, b) {
window.location = b ? a : base_url(a);
}
//Retorna o caminho da imagem fallback padrão
//Usada na diretiva srcFallback.js
function default_fallback_image() {
return base_url('areas/main/assets/images/no_img.png');
}
//Retorna o caminho do ícone padrão para arquivos de acordo com o FileTypeId
function default_file_image(id) {
return base_url('Assets/images/' + id + '.png');
}
/*metodo que retorna no js o ent_sigla*/
function return_ent_sigla() {
return "SEDUC ?? SessionFacade.CurrentEntity.ent_sigla.ToLower()";
}
/*metodo que retorna o CurrentPortalVirtualImagePath ou CurrentPortalVirtualFilePath*/
function return_virtual_path(path) {
if (path == "image")
return "https://portal.educacao.rs.gov.br/Portals/1/Images/";
else if (path == "file")
return "https://portal.educacao.rs.gov.br/Portals/1/Files/";
}
// recaptcha
var Session = Session || {};
Session.PublicKeyRecaptcha = "6LcZqecSAAAAAJRVLh5-icP-jjC2xGcpCnCH1lSF";
</script>]]>
|
454
| <![CDATA[<script>
// Preview App
(function (angular) {
var app;
// Bootstrap application case needed
try {
// Tenta buscar o MainApp por padrão em outro controller js
app = angular.module("MainApp");
} catch (e) {
// Caso não exista, então instancia
app = angular.module("MainApp", ["filters", "services", "directives"]);
}
if (Portal.internet_explorer && +Portal.internet_explorer < 10 && Session.MarkedIEViewMessage !== "True") {
Portal.showAlertIE();
}
/**
* Na página de visualização de notícias, os ícones não correspondiam com a cor de fundo, com isso, foi solicitado deixar a cor do ícone igual a cor do título que ele corresponde.
**/
var $iconsColors = $('h4.bd-none > i');
if ($iconsColors) {
for (var i = 0, len = $iconsColors.length; i < len; i++) {
var $icon = $($iconsColors[i]);
$icon.css('color', $icon.parent().css('color'));
}
}
})(angular);
</script>]]>
|
491
| <![CDATA[<script>
$(window).load(function() {
toggleHeaders();
// Verifica se somente o header fixo esta ativo
if (1 === 3)
checkMediatoUser();
// Verifica se somente o header fixo esta ativo
if (1 === 2)
{
setTimeout(setPaddingFixedHeader, 50);
}
});
var scrollTop = $(".btn-scroll-top");
$(window).scroll(function () {
// declare variable
var topPos = $(this).scrollTop();
// if user scrolls down - show scroll to top button
if (topPos > 100) {
$(scrollTop).css("opacity", "1");
} else {
$(scrollTop).css("opacity", "0");
}
}); // scroll END
//Click event to scroll to top
scrollTop.click(function () {
$('html, body').animate({
scrollTop: 0
}, 800);
return false;
}); // click() scroll top EMD
</script>]]>
|
627
| <![CDATA[<script>
var cookieName = "user-accepts-cookies";
var cookieContent = $('.cookie-disclaimer');
//checa se usuário já aceitou os cookies, se sim esconde a mensagem
if (getCookie(cookieName) === "true") {
cookieContent.hide();
}
function acceptCookie() {
setCookie(cookieName, true, 365);
cookieContent.hide(500);
};
function closeCookie() {
cookieContent.hide(500);
};
//função que busca cookies:
function getCookie(cname) {
var name = cname + "=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i].trim();
if (c.indexOf(name) === 0) return c.substring(name.length, c.length);
}
return "";
}
//função que cria cookies:
function setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
var expires = "expires=" + d.toGMTString();
document.cookie = cname + "=" + cvalue + "; " + expires + "; path=/";
}
</script>]]>
|