Click to See Complete Forum and Search --> : rollover images...


puff_1
02-25-2004, 10:52 AM
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.

angomeka
02-25-2004, 12:27 PM
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.

puff_1
02-25-2004, 12:30 PM
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.