|
@@ -60,26 +60,25 @@
|
|
<script src="js/konami.js"></script>
|
|
<script src="js/konami.js"></script>
|
|
<script src="js/loaded.js"></script>
|
|
<script src="js/loaded.js"></script>
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
-
|
|
|
|
|
|
|
|
- //fullscreen();
|
|
|
|
-
|
|
|
|
- function fullscreen() {
|
|
|
|
|
|
+ function fullscreen(closeBtn = true) {
|
|
const pos = $('#' + windowMode).position();
|
|
const pos = $('#' + windowMode).position();
|
|
if (!$('#' + windowMode).hasClass('fullscreen')) {
|
|
if (!$('#' + windowMode).hasClass('fullscreen')) {
|
|
$('#' + windowMode).css('top', Math.trunc(pos.top) + 'px');
|
|
$('#' + windowMode).css('top', Math.trunc(pos.top) + 'px');
|
|
$('#' + windowMode).css('left', Math.trunc(pos.left) + 'px');
|
|
$('#' + windowMode).css('left', Math.trunc(pos.left) + 'px');
|
|
$('#' + windowMode).css('position', 'fixed');
|
|
$('#' + windowMode).css('position', 'fixed');
|
|
|
|
+ localStorage.setItem('show-page', false);
|
|
} else {
|
|
} else {
|
|
$('#' + windowMode).one('transitionend', function() {
|
|
$('#' + windowMode).one('transitionend', function() {
|
|
$('#' + windowMode).css('top', '');
|
|
$('#' + windowMode).css('top', '');
|
|
$('#' + windowMode).css('left', '');
|
|
$('#' + windowMode).css('left', '');
|
|
$('#' + windowMode).css('position', '');
|
|
$('#' + windowMode).css('position', '');
|
|
});
|
|
});
|
|
|
|
+ localStorage.setItem('show-page', true);
|
|
}
|
|
}
|
|
|
|
|
|
$('#' + windowMode).toggleClass('fullscreen');
|
|
$('#' + windowMode).toggleClass('fullscreen');
|
|
- $('#close-fs').toggleClass('hide');
|
|
|
|
|
|
+ if (closeBtn) $('#close-fs').toggleClass('hide');
|
|
}
|
|
}
|
|
|
|
|
|
function show() {
|
|
function show() {
|