![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I can't wait to get Flash and learn how to make super sweet nav bars! |
|
but I can't figure out how to add an onclick behavior and get that third image (button) to work! |
|
Building my first site and I'm oh so close (until the next thing goes wrong.) Right now I'm preoccupied with my navigation buttons. Actually, I'm just trying to test one button in a #nav div, but all the other buttons are ready to go if I can figure this one out. I've created three versions of the button. Outer bevel, for normal, outer bevel with white text for rollover, and inner shadow with white text for active. (I know, typical, but this is my first time! I can't wait to get Flash and learn how to make super sweet nav bars!) I started out inserting rollover images...but I can only use two images there. Next I tried to use CSS ID rules ie. #nav a, # nav a:hover, #nav a"active, thinking I could change the background to the new image, but that didn't work, either. (I'm assuming those rules are just for simple text buttons, plus I couldn't get that crazy blue line to go away even though I set decoration to none. In any case, it didn't work.) Then I remembered the behaviors palette from my reading, and I started playing around with that. So I went back to insert rolloever image, and I've got my onmouseover and onmouseout behaviors there, but I can't figure out how to add an onclick behavior and get that third image (button) to work! (By the way, there's some crazy script function stuff going on in code view, which I assume is all about the behaviors: function swap image restore, preload images, swap image, etc. No idea what any of that means, which is why I'm learning Dreamweaver and not writing code!) I'm not getting anywhere so far, but I think I might be on the right track, since there's an "onClick" behavior. I just can't make it work. Any help will be greatly appreciated. I'm going to be jumping for joy when I get my first site working! |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Am I correct in saying that it sounds like I want to create three separate divs for each state of each button? |
|
Thanks for the Flash heads up. It's easy to overlook such practical issues as that when I get enthusiastic about something. I'm not sure I'm following the button advice. Am I correct in saying that it sounds like I want to create three separate divs for each state of each button? Each with a specific (and same) width and height? Somehow on top of each other? Sorry for not being clear on this. |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Thanks again! I've got a feeling I might be getting in a little over my head for having just opened the program for the first time a week or so ago. It sounds like I'll need to manually insert some code, which I know next to nothing about. maybe I should keep the first site a little simple (it's just a fun family picture thing) with just rollovers and such, and try the other after I read another, more advanced book. Thanks again for taking the time... |
![]() |
| Thread Tools | |
| Display Modes | |
| |