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

Dynamic number of columns? (istockphoto.com)

Status
Not open for further replies.

TheDust

Programmer
Aug 12, 2002
217
US
I am building a new site and I wish to integrate the same effect that istockphoto.com has achieved with its thumbnail view:


If you scale your browser window wider and thinner you will see that the thumbnails actually pop up and down rows and the number of columns changes dynamically based on the browser's current size.

Does anyone know how to achieve this effect? Seems like it wouldn't be difficult...
 
Have a look at the HTML and CSS for that URL... that'll provide you with all you need to do it. Seriously! Just put the images on the page... ideally inside a div (with a min-width set to something useful).

Just let it flow!

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Yeah I actually figured this out by doing what you said... worked like a charm!

Thanks for taking the time to offer advice!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top