New attempt
This commit is contained in:
@@ -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>"
|
||||
}
|
||||
Reference in New Issue
Block a user