Skip to content

Commit 206d679

Browse files
committed
new stuff
1 parent 9ea442f commit 206d679

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed

iframe_pdf/test1.html

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title></title>
6+
<style>
7+
main {
8+
width: 80%;
9+
margin: auto;
10+
}
11+
</style>
12+
</head>
13+
<body>
14+
15+
<main>
16+
<h2>My Site</h2>
17+
18+
<p>
19+
<a href="https://static.raymondcamden.com/enclosures/cat.pdf">cat.pdf</a>
20+
</p>
21+
22+
<iframe src="https://static.raymondcamden.com/enclosures/cat.pdf"
23+
width="100%" height="700px" loading="lazy"></iframe>
24+
</main>
25+
26+
</body>
27+
</html>

iframe_pdf/test_pdf_iframe.html

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title></title>
6+
<style>
7+
main {
8+
width: 80%;
9+
margin: auto;
10+
}
11+
</style>
12+
</head>
13+
<body>
14+
15+
<!--
16+
#page=3
17+
zoom
18+
toolbar1
19+
20+
https://pdfobject.com/pdf/pdf_open_parameters_acro8.pdf
21+
22+
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/pdfViewerEnabled
23+
24+
-->
25+
<main>
26+
<h2>My Site</h2>
27+
28+
<p>
29+
<a href="https://static.raymondcamden.com/enclosures/cat.pdf">cat.pdf</a>
30+
</p>
31+
32+
<iframe src="https://static.raymondcamden.com/enclosures/cat.pdf"
33+
width="100%" height="700px" loading="lazy"></iframe>
34+
</main>
35+
36+
</body>
37+
</html>

0 commit comments

Comments
 (0)