Results 1 to 2 of 2

Thread: Dynamically changing image color and specific items on image...

  1. #1
    Join Date
    Apr 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamically changing image color and specific items on image...

    Hello,
    Is there anyone who know how the image operation in the website blow is managed? Is it css, or is it a script? Car color and rims can be changed dynamically on the fly...

    Anyone who know this tecnique, would you please tell how this can be managed?

    www. elektrony.cz/cs/alu-kola/konfigurator/renault/renault-laguna-t-5-114//17/#?brand=lantisi&type=lantisi-289&id=43238&color=000000

    Thanks...
    Last edited by jscheuer1; 04-28-2013 at 04:44 AM. Reason: Format

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,127
    Thanks
    44
    Thanked 3,228 Times in 3,189 Posts
    Blog Entries
    12

    Default

    It's not anything special. They just have several different images, one of the car and one for each wheel. If you click on one thing - say to change the car color, they change the image of the car to one of that color. If you click on a different wheel type and/or color, they change the wheel type and/or color of the two wheel images.

    The way they're doing it is a little more complicated, but that's really all there is to it (in simplest terms):

    Code:
    <a href="#" onclick="document.getElementById('carimage').src = 'redcar.jpg'; return false;">RED</a>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Random Image Load with image specific hovers (rollovers)
    By PhoenixDigitalMedia in forum JavaScript
    Replies: 3
    Last Post: 06-01-2011, 05:29 AM
  2. Replies: 15
    Last Post: 09-14-2008, 07:27 PM
  3. Changing border color on Ultimate Image Slideshow?
    By jackofall in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 07-06-2008, 10:40 PM
  4. Help Changing Color To Image
    By Big Red in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 02-17-2006, 07:01 AM
  5. Help Changing Color To Image
    By Big Red in forum HTML
    Replies: 0
    Last Post: 02-15-2006, 01:47 AM

Bookmarks

Posting Permissions

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