Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    skk
    skk is offline
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Can you tell me what JS is used on this site?

    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_c...=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

  • #2
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    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.

  • #3
    skk
    skk is offline
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Can you tell me what JS is used on this site?

    Thanks, for sending me in the correct direction. I have learned to do it in Photoshop.

    skk


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •