-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d48902e
commit 13fdc45
Showing
3 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<title>Flip samples</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> | ||
<style type="text/css"> | ||
.nav { | ||
position: absolute; | ||
bottom: 10px; | ||
margin-top: 0px; | ||
padding-left: 10px; | ||
} | ||
</style> | ||
|
||
<body> | ||
|
||
<div id="sidebar" class="w3-sidebar w3-bar-block w3-animate-left" style="display:none"> | ||
<button class="w3-bar-item w3-button w3-large" onclick="w3_close()">Close ×</button> | ||
sdfsdfsdc | ||
</div> | ||
|
||
<div id="main"> | ||
<div class="nav" style=" z-index:1;"> | ||
</span><button id="nav" class="w3-button w3-xlarge w3-text-white" onclick="w3_open()">☰</button> | ||
</div> | ||
<iframe style="position:fixed; top:0; bottom:0; height:100%; width:100%; overflow:hidden;" class="w3-border-0" | ||
src="https://guillaumeblanc.github.io/flip/texture/"></iframe> | ||
</div> | ||
|
||
<script> | ||
function w3_open() { | ||
document.getElementById("main").style.marginLeft = "200px"; | ||
document.getElementById("sidebar").style.width = "200px"; | ||
document.getElementById("sidebar").style.display = "block"; | ||
document.getElementById("nav").style.display = 'none'; | ||
} | ||
function w3_close() { | ||
document.getElementById("main").style.marginLeft = "0%"; | ||
document.getElementById("sidebar").style.display = "none"; | ||
document.getElementById("nav").style.display = "inline-block"; | ||
} | ||
</script> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters