By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,466 Members | 1,125 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,466 IT Pros & Developers. It's quick & easy.

Imitating an image selection feature from another website

P: 1
I've got a T-shirt website I'm creating and need to know how to do something like on this website: http://marcinkaniewski.com/#

My client would like to be able to upload his lookbook and have people click on a photo and make it enlarge in addition to being able to click on a size (such as small) or gender (male or female) and have only those photos remaining on the page to look at. Also, once one of these options are selected, my client wants the person to click the next button to only shuffle those that are left.

Thanks guys, I really hope somebody can help me out here since I have basically no idea how to do this
Apr 8 '12 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
There's probably a number of different ways to achieve this, but one way would be to use classes. Then you can filter (hide the rest) based on the class name. You can have a class for the category and then size and gender.

As for the next/previous, just check that they're visible (or check the criteria).

Have a go and when you get stuck on a particular part, post your code.
Apr 12 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.