Oof too small

This commit is contained in:
2019-01-13 17:19:54 +00:00
parent 3ef83b55b9
commit da33fcb347
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -32,7 +32,9 @@
<a href="javascript:changePDF('chapter 23')">Chapter 23</a><br>
</td>
<td width="85%">
<div id="pdfcontainer"
<div id="pdfcontainer">
</div>
</td></tr>
</table>
</body>
+1 -1
View File
@@ -1,4 +1,4 @@
function changePDF(chapter) {
var container = document.getElementById("pdfcontainer")
container.innerHTML = "<embed src='https://lax18.github.io/StrayerChapters/"+chapter+".pdf' type='application/pdf'></embed>"
container.innerHTML = "<embed src='https://lax18.github.io/StrayerChapters/"+chapter+".pdf' type='application/pdf' height='100%' width='100%'></embed>"
}