JavaScript Slideshows

JavaScript slideshows are a great way of adding spice to your static webpages. There are dozens (hundreds?) of different slideshow solutions available on the web. We will now explore two of them.

Ultimate Fade-in slideshow

This slideshow solution supports captioning and linking as well as additional modifications to adjust slideshow behavior (speed, randomness etc.). This image slideshow, including instructions for use and file downloads can be found at:

In Dreamweaver

  1. Create a new folder inside your 'site-javascript' folder called 'ultimate'

In Firefox

  1. Navigate to the link above
  2. Download the fadeslideshow.js offered on the page to the ‘site-javascript/ultimate folder
  3. Copy the large chunk of code which you are told must to inserted into the your page <head>In Dreamweaver

In Dreamweaver

  1. Open slideshow.html
  2. Switch to Code View
  3. Make room the <head> section to add the copied code
  4. Paste the code into the <head> section

Clean-up what you pasted

  1. Carefully delete the second slideshow - we only need 1
  2. Modify the fadeslideshow.js link to read:
    src="site-javascript/ultimate/fadeslideshow.js">
  3. Remove the empty lines in the head section

In Firefox

  1. Navigate to the link above
  2. Find and copy <div id="fadeshow1"></div>

In Dreamweaver

  1. Switch to Design View
  2. Select the page left image that reads
    "Slideshow will appear HERE"
  3. Switch to Code View
  4. Delete both the image and the <div> that surrounds it
  5. Paste <div id="fadeshow1"></div> in its place
  6. Save your file
  7. Refresh your Firefox page

Time permitting

  1. Modify or delete slideshow links
  2. Modify or delete slideshow captions
  3. Replace slideshow images (408x306)
  4. Modify slideshow behaviors
  5. Create a CSS rule to control <div id="fadeshow1"></div>

Copyright © 2010 | Bill Morrison | All Rights Reserved