From the course: Scrollytelling: Creating a One-Page Web Experience
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Scrollama setup
From the course: Scrollytelling: Creating a One-Page Web Experience
Scrollama setup
- [Instructor] Okay, so we have HTML in place, content, structure and we have it styled, ready to be activated. And before we can actually activate it, we need to add the JavaScript code that is going to help us do that activation using the Scrollama library. So the first thing I have to do is actually bring in the references to the Scrollama library. I'm just going to keep copy and paste that in here inside of my head tag. And it's worth noting that this line here is saying, hey, the Scrollama library is at this URL, it's a reference to it, now I can talk about it, I can use it in the page. The Scrollama library, as I said in a prior video, uses the Intersection Observer API, and that used to be packaged within Scrollama, it no longer is, so I also have to have this reference so that that Intersection Observer is available inside of Scrollama or be available to Scrollama and to JavaScript on the page. So just so you…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
HTML and CSS basics4m 46s
-
(Locked)
Scrollama setup12m 11s
-
(Locked)
Triggering events8m 23s
-
(Locked)
Test before you go too far4m
-
(Locked)
Affecting other objects6m 58s
-
(Locked)
Making scrollytelling more dynamic3m 3s
-
(Locked)
Affecting things in any way you want9m 36s
-
(Locked)
Beyond triggering: Progressive dynamic actions8m 42s
-
(Locked)
Clean it up3m 55s
-
(Locked)
-