Photo Album
Description: When I got a digital camera, I found that I could no longer thumb
through a photo album with friends. This routine solves that problem. It is designed to
be put on a disc with photo files, allowing you to page through the pictures without having
to install any software.
Demo:
See my album
Instructions:
- Download the zip file, and unzip it into the disc or
directory with your photos.
- Edit the file "photolist.js" to customize your album:
- In line 9, change the value of the variable ttl to whatever you
want as a title for your album. Be sure to put quotes around the string.
- On line 12, change the value of astyle to the style you want to use.
The available styles are:
|
antique
|
baby
|
corp
|
|
femme
|
vanilla
|
neon
|
|
homey
|
forest
|
island
|
Again, be sure to put quotes around the text.
- You can change the initial image size on line 6 if you want.
- After line 15, create arrays containing the filenames and text descriptions
that you want to include in the album. The array pix contains the filenames, and
the array txt contains the descriptions. These must be numbered in unbroken sequence,
beginning with zero. All entries must be surrounded by quotation marks.
- Open Internet Explorer, select File|Open from the menu, and open the file album.html, and you're
good to go!
Note that hovering over the photo will display the file name.