forked from cole-gillespie/StoryMapJS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change demo storymap to the original; configure to load it from stati…
…c instead of from media.knightlab.com; fix broken map of VA for 1830 slide
- Loading branch information
1 parent
579da25
commit 497481b
Showing
3 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,23 @@ | ||
|
||
<link rel="stylesheet" href="//cdn.knightlab.com/libs/storymapjs/latest/css/fonts/font.pt.css"> | ||
<section id="demo" class="container-fluid"> | ||
<div class="product-demo"> | ||
<iframe frameborder="0" src="https://uploads.knightlab.com/storymapjs/5adc981b33abcca3b95bc93bc2fe088a/a-sunday-on-la-grande-jatte-zoomify/draft.html" width="100%"></iframe> | ||
</div> | ||
<div id="homepage-storymap"> | ||
</div> | ||
</section> | ||
<script> | ||
var storymap = new VCO.StoryMap('homepage-storymap', | ||
'{{ STATIC_URL }}demo/demo.json', | ||
); | ||
|
||
var e = $(window).height(), | ||
t = $("#homepage-storymap"); | ||
t.height(e - 20); | ||
|
||
$(window).resize(function() { | ||
e = $(window).height(); | ||
t.height(e - 20); | ||
storymap.updateDisplay(); | ||
}) | ||
</script> | ||
|
||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters