#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    124
    Rep Power
    16

    How can I make rollovers on images like buttons


    I have seen buttons with rollovers on them. Can some one please tell me how it done? When you pass your mouse over them the color changes. I can think of a site now but I ma sure you all have seen them out there. Thank you.

    James
    Last edited by jamesbak; January 20th, 2004 at 01:00 PM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    NY
    Posts
    244
    Rep Power
    16
    The buttons are two images (one with each color), and javascript code controls which image is displayed when the mouse is over the image. Search for OnMouseOver and you should find what you are looking for.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    124
    Rep Power
    16
    Thank you for that advice!
  6. #4
  7. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Location
    city of sin, state of the art
    Posts
    421
    Rep Power
    0

    better yet...


    better yet...

    search for making rollovers in image ready...

    basically you make your button in photoshop...and make another layer of what you want it to look like when you rollover it.

    then...take it into Adobe ImageReady and you can set rollover layers and then save optimized as html and images and ImageReady will write the javascript and the html all for you!! how awesome is that!?!?!?!

    good lucky and rock on!!
    "I hate quotations."
    -ralph waldo emerson-

IMN logo majestic logo threadwatch logo seochat tools logo