How to make text change when slide show pic changes

K

konithomimo

Ok, here is how i have it setup. On my website I created a
layer and put a picture inside of it. Next to the layer I
wrote a discription of the image. I would like to have it
where either the picture changes, and the text changes with
it, like a slide show, or have it so that a random pic and
its discription appear each time that the webpage is
opened. Is there any way to do the later of the two? I
figure that if i create two seperate automatic slide shows
that the text and pictures will correspond, but Im more
interested in the second option.

Kon
 
J

Jens Peter Karlsen[FP MVP]

It should be easy enough with your second option. The same Javascript
you use to pick a random image could relatively easily be expanded to
also find the accompanying text.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
Top