How to?

Out of context: Reply #3

  • Started
  • Last post
  • 7 Responses
  • ToxicDesign0

    -- you have a series of images

    -- you have a javascript mouseover event attached to that image (or rather a wrapper div over your group of images)

    -- When you mouse over, you grab the event object, inside of which is a attribute like "cursorPosX" or something like that.

    -- Have a group of if statements or a switch statement that show one image and hide the rest depending on what the value of "cursorPosX" is

    See! Easy! :)

View thread