nsitedesigns
asked on
Poof - Drop downs disappear in Navigation
I cannot get my drop downs to display. Below are links to the beta page as well as links to my test navigation page. Any help would be appreciated.
Beta
http://nsitedesigns.com/nsitedesigns/ymca/2.html
http://nsitedesigns.com/nsitedesigns/ymca/2.css
http://nsitedesigns.com/nsitedesigns/ymca/drop_down.js
Navigation working copy
http://nsitedesigns.com/nsitedesigns/ymca/test.html
http://nsitedesigns.com/nsitedesigns/ymca/test.css
http://nsitedesigns.com/nsitedesigns/ymca/drop_down.js
Beta
http://nsitedesigns.com/nsitedesigns/ymca/2.html
http://nsitedesigns.com/nsitedesigns/ymca/2.css
http://nsitedesigns.com/nsitedesigns/ymca/drop_down.js
Navigation working copy
http://nsitedesigns.com/nsitedesigns/ymca/test.html
http://nsitedesigns.com/nsitedesigns/ymca/test.css
http://nsitedesigns.com/nsitedesigns/ymca/drop_down.js
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The test site was merely to get the navigation set up. No stylizing - no nothing. I got it to work and then tried to dump it into my stylized page. Didn't work. I will try your suggestions.
ASKER
Ok. I tried your code and well, it kinda worked. You can now see drop downs but they appear immediately above the nav bar way up ontop of the page.
http://nsitedesigns.com/nsitedesigns/ymca/2.html
I would like them to be like the test page.
http://nsitedesigns.com/nsitedesigns/ymca/test.html
http://nsitedesigns.com/nsitedesigns/ymca/2.html
I would like them to be like the test page.
http://nsitedesigns.com/nsitedesigns/ymca/test.html
Add position:relative to the ul#nav. Then you'll have to play with your top and left values in the CSS for the drop down.
ASKER
I am not sure that is the right fix. I did what you asked (other than futz with the left and top values). The problem is that ALL drop downs appear in the same position, immediately to the right of Programs/Schedules. I need the drop downs to work exactly like the beta site. They need to be to the right of the "mother" button. For example, Photo Galleries needs to have the 3 photo gallery drop down buttons appear immediately to the right of the Photo Galleries button. Now, all drop downs appear to the right of the Programs/Schedules top button.
working page:
http://nsitedesigns.com/nsitedesigns/ymca/2.html
nav model
http://nsitedesigns.com/nsitedesigns/ymca/test.html
working page:
http://nsitedesigns.com/nsitedesigns/ymca/2.html
nav model
http://nsitedesigns.com/nsitedesigns/ymca/test.html
ASKER
Since the navigation test.html page is working, why can't I simple drop it into 2.html page?
I'm seeing it work in ie 7, 8, FF 5 and Chrome. The only thing you have to play with now is the left:135px;
Try changing it to 164px.
Try changing it to 164px.
ASKER
Sadly, it does't work in FF or Safari on a mac. Also, it doesn't work on FF and Opera on a PC. The drop downs are positioned at the very top. I need them to move to the right of each button that is calling it. See screen shot below. THis is not how it is supposed to look. Changing left position will not bring it down
http://screencast.com/t/84lrnVSp8w0
http://screencast.com/t/84lrnVSp8w0
One more position relative to the ul#nav li and that should take care of it.
ASKER
Nope - - drop downs still appearing to right of Programs/Schedules button regardless of which button you click on. They should be appearing to right of button associated with it.
ASKER
Can anyone help me please? This shouldn't be that difficult. I just need simple drop downs that show up to the right of the button.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
See reply on Aug 5. Unfortunately, I did that and it still isn't working on either a mac or pc.
We're talking about this page here: http://nsitedesigns.com/nsitedesigns/ymca/2.html
In your CSS file 2.css on line 102 it is still not showing up.
What browsers are you using to test?
In your CSS file 2.css on line 102 it is still not showing up.
What browsers are you using to test?
ASKER
What the heck? Let me check that out. I know that I uploaded it on Friday. Wait a sec
ASKER
Well how weird is that! I uploaded them again and it is working now. Sorry for the hassle.
No problem! Just glad to help. :)
ASKER
One quick question. Do you know why the nav floats to the right off the page in DW when I open html file. Yet, when I insert new image on right (with same dimensions as an earlier image) it floats to the left where it is supposed to be. THEN, if I close this file which now looks good and reopen it, the nav floats over to the right off the page again. This is extremely annoying.
DW still has a long way to go in terms of WYSIWYG. I generally don't even use design view unless I'm dealing with a very large table and even then I test in the browser.
Bottom line: As long as it looks good in the browser, it doesn't really matter what it looks like in DW. :)
Bottom line: As long as it looks good in the browser, it doesn't really matter what it looks like in DW. :)
ASKER
Ok. : (
I use design view and having it jump around is very distracting. I have been using 7+ DW for years now and never ran into anything this funky before.
I use design view and having it jump around is very distracting. I have been using 7+ DW for years now and never ran into anything this funky before.
ASKER
Well, I got the nav to lay where I want it by removing the sidebar 1 div tag. But now the drop downs aren't working again. I will open new ticket. Watch for it. I hope you can help with this one too.
I will do what I can. As long as it's in the CSS or HTML zones I'll pick it up.
ASKER
I put it in css, dw and html
Try being more specific in the CSS:
You have this:
Open in new window
Try this:
Open in new window