Update script.js
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function changePDF(chapter) {
|
||||
var container = document.getElementById("pdfcontainer")
|
||||
container.innerHTML = "<embed src='https://lax18.github.io/StrayerChapters/"+chapter+".pdf' type='application/pdf' style='height:calc(100vh - 70px)' width='100%'></embed>"
|
||||
document.getElementById("chapter_name").innerhtml = chapter
|
||||
document.getElementById("chapter_name").innerHTML = chapter
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user