$('#fullpage').fullpage({
navigationPosition: 'right',
navigationTooltips: ['First', 'Second', 'Third']
);
#second {
background: url('../img/header.png');
background-size: cover;
}
$(document).ready(function() {
$(".to-modal").fancybox({
fitToView : false
});
$(".to-modal--emp").fancybox({
fitToView : false,
'beforeLoad' : function(){
$('body').addClass('white');
},
'afterClose': function() {
$('body').removeClass('white');
}
});
});
.white{
.fancybox-overlay {
background: url('../img/design/overlay--white.png');
}
}