jueyang / call-me-maybe

Use the issue queue. Dark secrets welcome. (CUNY-J teaching 2015)
3 stars 0 forks source link

Uploading StoryMap JS files to GitHub #35

Open adrocck opened 8 years ago

adrocck commented 8 years ago

Hi Jue,

I am unsure how to embed the code for my StoryMap JS assignment in an html document. How do you embed the the iframe in an html document or external JavaScript page? I have included the embed code below. Should I create an inline link to the document with the url embedded?

Also, I would like to work with the StoryMap javascript to see how I can modify the document. Do you think this can be manipulated easily or is well outside the scope of my still very rudimentary knowledge of js? A link to the GitHub for StoryMap is below as well.

Thanks for your help!

Adam

jueyang commented 8 years ago

Thanks for calling!

Did you make a story via https://storymap.knightlab.com/? If so, once you are done you can get a snippet of <iframe> code from the share button. To embed your story on a webpage, You just need to find a place in your html document and paste those. (You can tweak the width/height of the iframe -- this is not so different from embedding a youtube video.)

I believe the advanced section of the website walks you through setting up your data and options. If you can give me more details of what you want to create with StoryMap I might be able to help more concretely :)