Created
August 24, 2022 17:18
-
-
Save 7shi/7cc85cdb9d77c49373fcf9a37798d0d7 to your computer and use it in GitHub Desktop.
[HTML]Splitter & PDF
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
<!DOCTYPE html> | |
<html lang="ja" style="height:100%"> | |
<head> | |
<meta charset="utf-8"> | |
<style> | |
.gutter { | |
background-color: #eee; | |
} | |
.gutter.gutter-vertical { | |
cursor: row-resize; | |
} | |
</style> | |
</head> | |
<body style="height:100%; margin:0; padding:0"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/split.js/1.6.5/split.min.js"></script> | |
<div class="split" style="height:100%"> | |
<div id="split-0"> | |
<embed src="Heliand-1a.pdf" type="application/pdf" style="width:100%; height:100%" /> | |
</div> | |
<div id="split-1"> | |
<embed src="Heliand-1c.pdf" type="application/pdf" style="width:100%; height:100%" /> | |
</div> | |
<div id="split-2"> | |
<embed src="Heliand-1b.pdf" type="application/pdf" style="width:100%; height:calc(100% - 8px)" /> | |
</div> | |
</div> | |
<script> | |
Split(["#split-0", "#split-1", "#split-2"], { | |
direction: "vertical", | |
minSize: 10 | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment