1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 23:05:03 -05:00

* update website

This commit is contained in:
Reinhard Pointner 2015-06-01 19:35:25 +00:00
parent 5b7d505bc4
commit a43946669f
3 changed files with 36 additions and 2 deletions

View File

@ -0,0 +1,33 @@
function isFullScreen() {
return (document.fullScreenElement && document.fullScreenElement !== null) || document.mozFullScreen || document.webkitIsFullScreen;
}
function requestFullScreen(element) {
if (element.requestFullscreen)
element.requestFullscreen();
else if (element.msRequestFullscreen)
element.msRequestFullscreen();
else if (element.mozRequestFullScreen)
element.mozRequestFullScreen();
else if (element.webkitRequestFullscreen)
element.webkitRequestFullscreen();
}
function exitFullScreen() {
if (document.exitFullscreen)
document.exitFullscreen();
else if (document.msExitFullscreen)
document.msExitFullscreen();
else if (document.mozCancelFullScreen)
document.mozCancelFullScreen();
else if (document.webkitExitFullscreen)
document.webkitExitFullscreen();
}
function toggleFullScreen(element) {
if (isFullScreen())
exitFullScreen();
else
requestFullScreen(element || document.documentElement);
}

View File

@ -4,6 +4,7 @@
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="galleria/galleria-1.4.2.min.js"></script> <script src="galleria/galleria-1.4.2.min.js"></script>
<script src="galleria/themes/classic/galleria.classic.min.js"></script> <script src="galleria/themes/classic/galleria.classic.min.js"></script>
<script src="fullscreen.js"></script>
<link rel="stylesheet" href="galleria/themes/classic/galleria.classic.css"> <link rel="stylesheet" href="galleria/themes/classic/galleria.classic.css">
<style> <style>
body{ margin: 0; padding: 0; background: #000; } body{ margin: 0; padding: 0; background: #000; }
@ -15,7 +16,7 @@
<title>Getting Started</title> <title>Getting Started</title>
</head> </head>
<body> <body>
<img class="fullscreen" src="fullscreen.png" width="16" height="16" onclick="$('.galleria').data('galleria').toggleFullscreen()" /> <img class="fullscreen" src="fullscreen.png" width="16" height="16" onclick="toggleFullScreen()" />
<div class="galleria"></div> <div class="galleria"></div>
<script> <script>
var data = [ var data = [

View File

@ -214,7 +214,7 @@
<p>If you have any questions or problems just to check the <a href="https://www.filebot.net/forums/viewtopic.php?f=3&amp;t=7">FAQ</a> or search the <a href="https://www.filebot.net/forums/">forums</a>.</p> <p>If you have any questions or problems just to check the <a href="https://www.filebot.net/forums/viewtopic.php?f=3&amp;t=7">FAQ</a> or search the <a href="https://www.filebot.net/forums/">forums</a>.</p>
<div class="video"> <div class="video">
<iframe src="getting-started/index.html" frameborder="0" allowfullscreen="true"></iframe> <iframe src="http://app.filebot.net/getting-started/index.html" frameborder="0" allowfullscreen="true"></iframe>
</div> </div>
</div> </div>