Graphic Design Exercises
Integrated: HTML Slide Show
Objective
To learn to web site production techniques by example.
To learn how to generate easy-to-manage slide shows using a HTML/Javascript approach to make this sample page.![]()
Discussion
In this sample web page, the thumbnail images are linking to a larger full-sized image (which have all been prepped to be 700x430px). Once the Javascript code has been added, clicking on a link will activate a slide show on top of the current page.
Procedure
prepping for the exercise
- download starter files, move files to "html" folder
- download jQuery Lightbox Clone
"compressed" source files - copy contents of "prettyPhoto" into "slides" folder
- examine files
prepping the slide show
- open "contact.html", save as "portfolio.html"
- select <div#col3>, delete
- select <div#col2>, change id=portfolio2
- select <div#text>, delete
- insert table (4 rows, 3 cols)
- window > css: new (+) "#portfolio2 td": box: padding: top=0, others=40
- insert > image "slides/thumbnails/01.jpg"
- link image to "slides/700x430/01.jpg"
- save, file > preview in browser (opt+F12)
embedding the slide show
- open "slides/index.html"
- file > preview in browser (opt+F12); close
- select first image in gallery
- view > code
- copy rel="prettyPhoto[gallery1]", paste into "portfolio.html"
- copy lines 7-12 from "index.html" into <header> of "portfolio.html"
- update links in header: add "slides" to "slides/css/" and "slides/js/"
- browse to jquery-lightbox-clone/documentation

- copy and paste customization into body (before </body>)
- change the following:
opacity: 0.60,
showTitle: false,
counter_separator_label: ' of ',
theme: 'dark_square'
- view > design
- save, file > preview in browser (opt+F12)
finishing the slide show
- copy "slides/thumbnails/01.jpg"
- paste 11x into other table cells
- view > code
- change image numbers
- view > design
- swap out each thumbnail (double-click)
- window > css: div.dark_square .currentTextHolder: verdana, 11px, color=#999
- rename "prettyPhoto\dark_square\btnNext_safe.png" as "_safe"; repeat with "btnPrevious.png"
- save, file > preview in browser (opt+F12)
- publish the finshed page as a link from your personal process page for grading
