Lab #26 Slide and Scroll

Lab #26 is titled "Slide and Scroll". Within this lab, I created images of myself that slide onto the screen when you scroll down to it. I can't really show the animation in a screenshot but here is the page.


The sliding animation is mainly JavaScript but there other things I want to mention within the HTML and CSS. In my HTML, I created the image tags and linked them with classes that identified what kind of animation they would do before I made it in JavaScript. The CSS on this webpage is to set the initial position of the image and set it up for the animation. For the JavaScript, I created a function that set the animations for the images by checking for the position of the images and when you scroll to a certain point, they would appear in a fade-in animation, and when scrolling away from the image it would fade out.

Web designers would want to know how to do this in order to Make their webpages more styled with animated images. They can use this technique to catch the attention of the audience for the first time their site gets visited. The more appealing websites, the better it can sell, or promote what you want. Animations always look flashy to inexperienced web designers, so little tricks like this can boost the performance of your work and likeliness to succeed in creating astonishing websites.

Comments

Popular posts from this blog

WBL Workshop #6 Interview Skills

CTE Expo Reflection Journal

Lab #12 Reflection