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
volgende
Slide 1: Tekstslide
Ilearningdeal@gmail.comUpper Secondary (Key Stage 4)BTEC

In deze les zitten 11 slides, met interactieve quizzen en tekstslides.

Onderdelen in deze les

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 - Tekstslide

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 - Tekstslide

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 - Tekstslide

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

Slide 4 - Quizvraag

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

Slide 5 - Quizvraag

Where are the images file kept

Slide 6 - Open vraag

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

Slide 7 - Quizvraag

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 - Tekstslide

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

Slide 9 - Open vraag

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

Slide 10 - Tekstslide

Thank you
For learning with us 

Slide 11 - Tekstslide