www.webdeveloper.com
Results 1 to 2 of 2

Thread: Image Interaction

  1. #1
    Join Date
    Feb 2007
    Location
    Raleigh, NC
    Posts
    13

    Image Interaction

    I am looking for some assistance or a point in the right direction. Here's what I'm looking to do and I'm opting for a Javascript solution first even though it could be handled in a different language.

    I have 3 main images on the homepage of the Web site that will rotate.

    When Image 1 is displayed, there are 2 other seperate images on the page that need to turn into a different color when Image 1 is displayed. Then when Image 1 goes away, those 2 other images turn back to their original color.

    When Image 2 is displayed, there are 2 other images on the page that need to turn into a different color when Image 2 is displayed. Then when Image 2 goes away, those 2 other images turn back to their original color.


    And then the same thing for Image 3.

    What is the best way to handle this and is there maybe a script created somewhere already on a free site that does this or maybe does some of this and then we can manipulate the rest?

    Thank you!

  2. #2
    Join Date
    Mar 2009
    Location
    Wherever i lay my hat
    Posts
    180
    how do you "rotate" the main images? and what does it mean, that some other images need to turn to different colour? do you have these images as separated files, so you want to e.g. change a src attribute of an <img> tag?
    Last edited by haulin; 03-19-2009 at 11:01 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles