Click to See Complete Forum and Search --> : script help


kung-fu-monkey
04-25-2003, 09:42 AM
I was wondering whether anyone could take a look at this code for me on the website: The JavaScript Source: Miscellaneous: KityKity's Photo Album my question is, is it possible to change the descriptions at the sides to links, so i.e. each time you select a picture down the list you get a different link come up

Jona
04-25-2003, 11:28 AM
Yes it is possible. Each pic has an array. Here is the array for the first pic:
SuzyArray[PicVar++] = new Fix("2/25/2003", "2003-02-25-27.jpg", "Our house in the snow", "I took this beautiful picture this morning. The streets are <i>one solid sheet of ice</i> right now! It's insane. I don't think we'll be driving anywhere soon.")

You can put any HTML you want in there, in the description. Here is the format:


SuzyArray[PicVar++] = new Fix("date", "image.jpg", "heading", "description (html is allowed)")