Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Picture Album/Viewer

Status
Not open for further replies.

BLarche

Programmer
Nov 29, 2004
25
US
I want to generate a JavaScript picture viewer that will allow the user to click to next or previous icon and show the next or previous picture in place of the default picture. You can get a general idea of what I am referring to here:

http://www.cnn.com/2007/POLITICS/02/08/cia.leak/index.html

Instead of having it stop at the third picture, I want it to loop back to the first picture when the user clicks next. The picture IDs are being generated from a DB and needs to be flexible to accomidate from as few as 2 pictures to as many as infinity.

In addition, I want to be able to change the "alt" property of the image, as well as the caption that resides below the image in another cell. You can view my page here:

http://www.emp-corp.com/contact/press/showArticle1.asp?newsID=60

Thanks for any help you may provide.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top