Welcome to implementing a show

Slide show 
1. Understand how to create a simple slide show.
2. Implement it in your assignment 
3. Need help then message teacher in teams.
1 / 11
next
Slide 1: Slide
Ilearningdeal@gmail.comUpper Secondary (Key Stage 4)BTEC

This lesson contains 11 slides, with interactive quizzes and text slides.

Items in this lesson

Slide show 
1. Understand how to create a simple slide show.
2. Implement it in your assignment 
3. Need help then message teacher in teams.

Slide 1 - Slide

The  first step 
1.  Use a div tag  to insert all your images
2. Give your div tag an "id" Slideshow perhaps (You will need that later.
3. Give Your images a "class" you will need this for your Javascript later to transition between slides.

Got that!  Write it down on  a piece of paper for recall. 
Did it!  Good let us move on.

Slide 2 - Slide

Formatting divs and images
Here we div tag   id= "slideshow"
Here we format the images= class="slides" (This is needed by Javascript)

Ok so far! look at previous lesson on layout to help with formatting divs if you are unsure.
Notice the absolute Position will be based on the inherited parent layout. 
Try it out!

Slide 3 - Slide

When Javascript needs the images what would it refer to?
A
Slideshow
B
Slides
C
slide1
D
None of the above

Slide 4 - Quiz

How many images slides are there?
A
1
B
3
C
2
D
4

Slide 5 - Quiz

Where are the images file kept

Slide 6 - Open question

What percentage of the div block or container is used by the images
A
10%
B
60%
C
50%
D
100%

Slide 7 - Quiz

How the slide show works
1.Here all the slide that is held in class called "slides"  are sent to variable called slides.
1. A function called "showslides" then goes through all the slides and blanks them all out.
2. The index then points to the first slide and displays it for 5 sec
3. The Function  "showslides" is called and it blanks all images out.
4. The index then points to the 2 nd images and displays it for 5 seconds.
5. The function " showslides" is callled and the whole thing repeats itself.
Got That!  I hope so!

Slide 8 - Slide

function showslides(){ for i=0,i=slide.length,i++{slides{i}.style-opacity=0;
}}
Explain the function !

Slide 9 - Open question

What Next!
Put some images in your assignment and create a slide show for one of your  pagess

Slide 10 - Slide

Thank you
For learning with us 

Slide 11 - Slide