1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

updated demo links

This commit is contained in:
Fred Chasen 2013-07-18 19:00:38 -07:00
parent 5cb99ef2e6
commit 932d9232c0
10 changed files with 10 additions and 10 deletions

View file

@ -44,7 +44,7 @@
<script> <script>
"use strict"; "use strict";
var Book = new EPUBJS.Book("/demo/moby-dick/", { restore: true }); var Book = new EPUBJS.Book("../demo/moby-dick/", { restore: true });
</script> </script>

View file

@ -69,7 +69,7 @@
<script> <script>
"use strict"; "use strict";
var Book = new EPUBJS.Book("/demo/moby-dick/"); var Book = new EPUBJS.Book("../demo/moby-dick/");
</script> </script>
</head> </head>

View file

@ -18,7 +18,7 @@
<script> <script>
"use strict"; "use strict";
var Book = new EPUBJS.Book("/demo/moby-dick/"); var Book = new EPUBJS.Book("../demo/moby-dick/");
</script> </script>
</head> </head>

View file

@ -93,7 +93,7 @@
<div id="main"> <div id="main">
<div id="prev" onclick="Book.prevPage();" class="arrow"></div> <div id="prev" onclick="Book.prevPage();" class="arrow"></div>
<div id="wrapper"> <div id="wrapper">
<epub-reader id="book" src="/demo/moby-dick/" width="400" height="600" restore></epub-reader> <epub-reader id="book" src="../demo/moby-dick/" width="400" height="600" restore></epub-reader>
</div> </div>
<div id="next" onclick="Book.nextPage();"class="arrow"></div> <div id="next" onclick="Book.nextPage();"class="arrow"></div>
</div> </div>

View file

@ -46,7 +46,7 @@
<script> <script>
"use strict"; "use strict";
var Book = new EPUBJS.Book("/demo/moby-dick/", { var Book = new EPUBJS.Book("../demo/moby-dick/", {
width: 480, width: 480,
height: 645, height: 645,
spreads : false, spreads : false,

View file

@ -33,7 +33,7 @@
<script> <script>
"use strict"; "use strict";
var Book = new EPUBJS.Book("/demo/moby-dick/", { var Book = new EPUBJS.Book("../demo/moby-dick/", {
fixedLayout : true fixedLayout : true
}); });

View file

@ -133,7 +133,7 @@
currentChanged: function() { currentChanged: function() {
this.selectedItem = this.shadowRoot.getElementById("toc-"+this.current); this.selectedItem = this.shadowRoot.getElementById("toc-"+this.current);
this.selectedItem.classList.add("currentChapter"); if(this.selectedItem) this.selectedItem.classList.add("currentChapter");
} }
}); });

View file

@ -15,6 +15,6 @@
</style> </style>
</head> </head>
<body style="background: #6b6b6b;"> <body style="background: #6b6b6b;">
<epub-reader id="reader" src="/demo/moby-dick/"></epub-reader> <epub-reader id="reader" src="../../demo/moby-dick/"></epub-reader>
</body> </body>
</html> </html>

View file

@ -16,7 +16,7 @@
<script> <script>
"use strict"; "use strict";
var Book = new EPUBJS.Book("/demo/moby-dick/", { restore: true }); var Book = new EPUBJS.Book("../demo/moby-dick/", { restore: true });
</script> </script>

View file

@ -50,7 +50,7 @@
<script> <script>
"use strict"; "use strict";
var Book = new EPUBJS.Book("/demo/moby-dick/", { var Book = new EPUBJS.Book("../demo/moby-dick/", {
width: 400, width: 400,
height: 600, height: 600,
spreads : false spreads : false