99
| <![CDATA[<button class="expand-audio" style="cursor:pointer;" aria-label="Assistente de Áudio"><i class="fas fa-assistive-listening-systems"></i></button>]]>
|
117
| <![CDATA[<div id="audima-container" class="col-12" style="display: none">
<div id="audimaWidget"></div>
</div>]]>
|
386
| <![CDATA[<p class="card-text responsive-text" style="height:90px!important;">
Confira
</p>]]>
|
417
| <![CDATA[<p class="card-text responsive-text" style="height:90px!important;">
Saiba mais
</p>]]>
|
435
| <![CDATA[<div id="journal_carousel" class="carousel slide" data-ride="carousel" style="height:380px;">
<div class="carousel-inner">
<a class="carousel-item active carousel-title text-center" data-title="Jornal Nova Edição - Agosto 2023" href="https://novalima.mg.gov.br/uploads/jornal-a-cidade/arquivos/1693572195nQvoDl.pdf" download="Jornal Nova Edição - Agosto 2023">
<img class="carousel-item-img" src="https://novalima.mg.gov.br/uploads/jornal-a-cidade/imagens/1693570200nOo7KV.jpg" alt="Slide 0">
</a>
</div>
</div>]]>
|
54
| <![CDATA[<style>
header section.menu-primary {
-webkit-box-shadow: 0 4px 8px 0 rgba(31, 58, 84, 0.41);
-moz-box-shadow: 0 4px 8px 0 rgba(31, 58, 84, 0.41);
box-shadow: 0 4px 8px 0 rgba(31, 58, 84, 0.41);
}
section#bottom_menu {
display: none;
}
@media screen and (max-width: 991px) {
section#bottom_menu {
display: block;
}
}
</style>]]>
|
369
| <![CDATA[<style>
.social-legends{-webkit-line-clamp:3;margin-bottom: 4px;}
</style>]]>
|
400
| <![CDATA[<style>
.social-legends{-webkit-line-clamp:3;margin-bottom: 4px;}
</style>]]>
|
75
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-116291566-1');
</script>]]>
|
598
| <![CDATA[<script>
$(document).ready(function() {
$('.expand-audio').on('click', function() {
$('#audima-container').slideToggle(250);
});
new window.VLibras.Widget('https://vlibras.gov.br/app');
Raven.config('https://350d57fe132e48a1a33a09123b861837@sentry.io/290570').install() ;
let $v_PageIsDirty = $('#page_is_dirty');
if($v_PageIsDirty.val() == 0) {
$v_PageIsDirty.val(1);
}
//loads or fetches weather data from openweathermap
let v_WeatherData = JSON.parse(localStorage.getItem('currentWeather'));
let v_Today = new Date().getTime();
//if has weather data and it's within the specified lifetime, displays it. Otherwise, fetches new data
if(v_WeatherData != null && ((v_Today - (v_WeatherData.dt * 1000)) < WEATHER_LIFETIME )){
displayWeather(v_WeatherData);
}
else {
if (v_WeatherData != null) {
localStorage.removeItem('currentWeather');
}
$.ajax({
url: 'https://api.openweathermap.org/data/2.5/weather?q=Nova+Lima,br&units=metric&lang=pt&APPID=324350afdbca18da0b2a1b71563bb3d2',
dataType: 'jsonp',
success: function (p_WeatherData) {
if (p_WeatherData != undefined && p_WeatherData.cod == 200) {
displayWeather(p_WeatherData);
localStorage.setItem('currentWeather', JSON.stringify(p_WeatherData));
}
}
});
}
});
//displays weather info
function displayWeather(p_WeatherData){
let v_Weather = p_WeatherData.main.temp;
v_Weather = Math.round(v_Weather * 10)/10;
v_Weather = (v_Weather + 'º').replace('.',',');
$('#weather').html(v_Weather);
$('#weather_img').removeClass('d-none').attr('src', 'https://novalima.mg.gov.br/assets/images/weather/' + p_WeatherData.weather[0].icon + '.png');
}
</script>]]>
|