Oof too small
This commit is contained in:
+3
-1
@@ -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,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>"
|
||||
}
|
||||
Reference in New Issue
Block a user