PDA

View Full Version : Slider Menu



Johnb21
01-31-2011, 07:12 PM
I made a sliding drop down menu and I am having a couple issues.

#1) The image that i use as a separator in my nav bar slides down with the slide menu, I would like to try and make that stay in place without sliding with the drop down and sliding back up with the collapse.

#2) The very top line in every drop down is not aligning correctly. After the first line the rest of the <li> content below it aligns just fine to the left. Is there something with the very top line of a drop down menu that needs its own styling?

Any help is appreciated.

gusblake
01-31-2011, 07:57 PM
It's impossible to know without seeing the code. Most people advising on existing problems will have run the code and tested any changes they suggest.

Johnb21
01-31-2011, 08:06 PM
It's impossible to know without seeing the code. Most people advising on existing problems will have run the code and tested any changes they suggest.

sorry, Here is the HTML

http://pastebin.com/hFTsAsVE

and here is the CSS for this section

http://pastebin.com/aG3RdzYt

again, it's only the top llist item in each submenu, and the navbar separators with each submenu

Johnb21
01-31-2011, 08:33 PM
Ok, I fixed the list alignment issue, but still would like to see if there is a way to make it so the image does not slide down when the drop down menu slides. I just want to keep it where it is

gusblake
01-31-2011, 09:50 PM
OK I can see those but I don't see any javascript. Have you got a live version of the site somewhere so we can see the code in place?

Johnb21
02-01-2011, 12:13 AM
here is just a test place i just set up to show

http://psetest.host22.com/

if you hover over the coach, team, roster admin options...and also the Stats & info you will see the drop down.. but the background image slides with it as well.

I would like that image to stay put if possible.