Building a product page with gallery using jQuery -


i'm helping client build product site, 1 of pages displays details of products selling. 1 of requirements of product detail page have multiple images of product (which i'm fine with, going implement slider) product images in different colours. depending on colour user selects relevant product images shown. i'm having trouble how implement colour select option.

i using bx-slider (http://bxslider.com/) on page able reuse same slider. give me pointers?

i've included design of product page here:

enter image description here

would appreciate help!!

i've never used bxslider, looks use advantage:

http://bxslider.com/examples/custom-next-prev-selectors

if create custom prev/next selectors can create index, know colour selected in slider , display corresponding image. custom selectors, done in jquery.click() functions of 2 spans (in example).

$("#slider-next").click(...change image index + 1...); $("#slider-prev").click(...change image index - 1...); 

Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -