New attempt

This commit is contained in:
2019-01-13 17:32:49 +00:00
parent 71abcd0f31
commit 0ba367a01c
+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' height='100%' width='100%'></embed>"
container.innerHTML = "<embed src='https://lax18.github.io/StrayerChapters/"+chapter+".pdf' type='application/pdf' style='height:calc(100vh - 70px)' width='100%'></embed>"
}