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.
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.