-
Notifications
You must be signed in to change notification settings - Fork 0
/
PDF.html
executable file
·44 lines (34 loc) · 1.16 KB
/
PDF.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Parth - PDF Portfolio</title>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<!-- Flipbook StyleSheet -->
<link href="lib/css/min.css" rel="stylesheet" type="text/css">
<!-- Icons Stylesheet -->
<link href="lib/css/themify-icons.min.css" rel="stylesheet" type="text/css">
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div id="flipbookContainer">
</div>
<!-- jQuery -->
<script src="lib/js/libs/jquery.min.js" type="text/javascript"></script>
<!-- Flipbook main Js file -->
<script src="lib/js/dflip.min.js" type="text/javascript"></script>
<!-- Flipbook main Js file -->
<script>
jQuery(document).ready(function () {
//uses source from online(make sure the file has CORS access enabled if used in cross domain)
var pdf = './Assets/Imagepdfportfolio.pdf';
var options = {
height: 1000,
duration: 700,
backgroundColor: "#2F2F2F"
};
var flipBook = $("#flipbookContainer").flipBook(pdf, options);
});
</script>
</body>
</html>