View Full Version : Can you tell me what JS is used on this site?

01-28-2005, 01:21 AM
Can someone please look at this link and tell me how it's done?
When you click on the sweater colors it looks like only the sweater changes but each color is saved by name in different colors? If you hold your mouse over the colors it shows a js changeset code reference. I have done some js but not a lot. There isn't anyway the model can be posed the exact way for each color and it looks like when you click it, only the sweater changes. If the sweater image was cut and placed on the same model it would have to be in the same position? I have also used Photoshop to clone or paint and it doens't look like this. Every stitch in each of the colors are the same.


If the link above doesn't work, not all of them on the site do the same thing, use the info below.

click Women's Clothing
click Sweaters & Sweatshirts
click Pullovers
So you can see the texture go over to the right and click on Long Sleeve Rib Crew
Now change colors on the sweaters.

Please, if someone can help let me know.

01-28-2005, 01:33 AM
The Javascript is just swapping out the image. Each image has been pre-generated, in an image editor, by recolouring the clothing. There's no trickery here.

01-30-2005, 10:21 PM
Thanks, for sending me in the correct direction. I have learned to do it in Photoshop.