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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrolling Image Advice

Status
Not open for further replies.

Mighty

Programmer
Joined
Feb 22, 2001
Messages
1,682
Location
US
Hi Folks,

I was hoping to get some advice on the best way to get a scolling set of images on a web page. Basically, I have a php program which will get a list of images in a certain directory and I then want to scroll them horizontally across a page and have them recycle. I want to be able to click on any of the images to view a larger version of the image.

What is the best way to do this?

Thanks

Mighty
 
I am sorry but to me your questions are just too vague to give you a definite answer. I suppose the best option would be a div with overflow: auto and white-space: nowrap; at the top of the page, serving as a holder for image thumbnails. That will enable your horizontal scrolling issue. Underneath this, the larger image will show. Everything else is done with php. So I guess you should ask specific php questions in that forum.
 
style the images with a float:left and they will wrap to the next line when the page is filled horizontally.
 
If you want them to actually move across the page, try asking in the Javascript forum (forum216).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top