Lab9 - Carousal
Link to Lab9
In this lab, we were assigned the task of creating a slide with images. The starting HTML file was just a bunch of images stacked onto each other. First, instead of using JavaScript, I used CSS to make the images appear in a horizontal line and then create divs that had three images within them. One div would be displayed at a time and then when the next button was pressed a different div would appear. In essence, the images aren't really sliding, but rather fading an being replaces with different divs.
In this lab, we were assigned the task of creating a slide with images. The starting HTML file was just a bunch of images stacked onto each other. First, instead of using JavaScript, I used CSS to make the images appear in a horizontal line and then create divs that had three images within them. One div would be displayed at a time and then when the next button was pressed a different div would appear. In essence, the images aren't really sliding, but rather fading an being replaces with different divs.

Comments
Post a Comment