i want to make like the url.

if click on fabric the shirt image will show with that color.
if click the back view the shirt will be seen as back view.

also click on design ->buttons
click on buttons the button color be changed.

can anybody help me to do that in javascript and php.

any code that nearest to it may be not the same.

or the concepts behind or how to start.