rollover images...

Sharky Forums


Results 1 to 3 of 3

Thread: rollover images...

  1. #1
    Tiger Shark puff_1's Avatar
    Join Date
    Nov 2001
    Posts
    878

    rollover images...

    I don't know if it's the right section, but I guess since I'll be using javascript it is.

    I'm having a problem with image ready creating my rollover images. Basically it's for a navigation menu. I want 4 states of a button. Normal, over, down, selected. Since Image ready keeps lockin up when tryin to create or save them, I've saved the 4 image states and want to implement it in dreamweaver. I'm not very familiar with javascript so I"m letting dreamweaver do the code, but I only see an option for normal and over. I want to have the image change when it is clicked, and when it is currently selected.

    How do I do this?


    edit: think I answered my own question. But what's the difference between onclick and mouseDown? Which would I use for my selected state? for example if the user clicks the 'Home' button, I was my button to still look selected for easier navigation.
    Last edited by puff_1; 02-25-2004 at 12:09 PM.

  2. #2
    The Wonder Taskmaster angomeka's Avatar
    Join Date
    Jul 2001
    Posts
    2,872

    Re: rollover images...

    Originally posted by puff_1
    I don't know if it's the right section, but I guess since I'll be using javascript it is.

    I'm having a problem with image ready creating my rollover images. Basically it's for a navigation menu. I want 4 states of a button. Normal, over, down, selected. Since Image ready keeps lockin up when tryin to create or save them, I've saved the 4 image states and want to implement it in dreamweaver. I'm not very familiar with javascript so I"m letting dreamweaver do the code, but I only see an option for normal and over. I want to have the image change when it is clicked, and when it is currently selected.

    How do I do this?


    edit: think I answered my own question. But what's the difference between onclick and mouseDown? Which would I use for my selected state? for example if the user clicks the 'Home' button, I was my button to still look selected for easier navigation.
    If you download the demo to dreamweaver it can do it for you but I have a link for it at home but i am at work now so i cant post it will try to pm it to you when i get back home.

  3. #3
    Tiger Shark puff_1's Avatar
    Join Date
    Nov 2001
    Posts
    878
    I have a full version of dreamweaver, so I don't need to download anything. My point was I only see the option for up and over with rollover images, I don't want do use the navigation bar menu because I have my cells and buttons already where they need to be. I can add the extra code by hand, but just wasn't sure about the difference in some of the states.

Posting Permissions

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