92
| <![CDATA[<style type="text/css">
#banner {
/*min-height: 312px;*/
max-width: 100%;
/*max-height: 800px;*/
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
padding-top: 40px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
/*background-color: rgb(0,0,0); Fallback color */
background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
background-color: transparent;
margin: auto;
padding: 12px;
max-width: 800px;
min-width: 300px;
}
.modal-content > img {
border-radius: 4px;
}
/* The Close Button */
.close {
display: block;
height: 30px;
width: 30px;
background-image: url(img/ico/close.svg);
background-size: 100%;
background-repeat: no-repeat;
background-position: center;
position: relative;
left: 90%;
top: -40px;
cursor: pointer;
}
</style>]]>
|
29
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-118206521-1');
</script>]]>
|
154
| <![CDATA[<script>
function open_modal(id) {
var maskHeight = $(document).height();
var maskWidth = $(window).width();
$('#mask').css({'width': maskWidth, 'height': maskHeight});
$('#mask').fadeIn();
$('#mask').fadeTo("fast");
//Get the window height and width
var winH = $(window).height();
var winW = $(window).width();
$(id).css('top', winH / 2 - $(id).height() / 2);
$(id).css('left', winW / 2 - $(id).width() / 2);
$(id).fadeIn(1);
}
;
$(document).ready(function () {
$('a[name=modal]').click(function (e) {
e.preventDefault();
open_modal($(this).attr('href'));
});
open_modal('#dialog'); //abrindo o div#modal ao carregar a página
$('.window .close').click(function (e) {
e.preventDefault();
$('#mask').hide();
$('.window').hide();
});
$('#mask').click(function () {
$(this).hide();
$('.window').hide();
});
});
// When the user clicks the button, open the modal
$(document).ready(function () {
modal.style.display = "block";
});
// Get the modal
var modal = document.getElementById('myModal');
// Get the button that opens the modal
var btn = document.getElementById("myBtn");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks on <span> (x), close the modal
span.onclick = function () {
modal.style.display = "none";
};
modal.onclick = function () {
modal.style.display = "none";
};
$(document).keydown(function (e) {
if (e.keyCode === 27) // esc pressed
{
modal.style.display = "none";
}
});
</script>]]>
|
478
| <![CDATA[<script type="text/javascript">
var slider = new MasterSlider();
slider.setup('masterslider' , {
width:1440, // slider standard width
height:450, // slider standard height
space:1,
loop:false,
preload:0,
autoplay:true,
speed: 7
});
slider.control('bullets', {
autohide: false,
hideUnder: false,
dir: 'v',
align: 'right'
});
</script>]]>
|