...

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



skk
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.

http://www.orvis.com/store/product_choice.asp?pf_id=45LG&feature_id=&dir_id=832&group_id=852&cat_id=5283&subcat_id=6842&shop_id=

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

http://www.orvis.com
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.
Thanks,
skk

hemebond
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.

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

skk



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum