Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : Tabs > Sticky Navigation Bar
Mottie (SuperAdmin) 1/24/2012 7:41 PM EST : Sticky Navigation Bar
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Sticky Navigation Bar

GuildPortal admin site link to the original post

I just added a mod that makes your navigation bar sticky! What that means is it that once the navigation bar scroll up off the screen, it (really a copy of it) sticks to the top of the page. It overlaps all of the other content.



To install it, go to the site mods (Control Panel > Site Mods > Get Site Mods > Search for "Sticky Navigaiton Bar" then install it!

Customizing

The only thing that you might need to change would be the z-index value (in red).
.floatingNav {
    z-index: 1000; /* make this number bigger if the nav bar goes under something */
    display: none;
    position: fixed;
    top: 0;
}
If the sticky nav bar goes under a video, it is most likely that the video needs to have it's wmode parameter set to "opaque" or "transparent".
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

 
 
Key 
New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
 
 
Who's Online 
There are   members online.
 
 
So-and-so has logged on!
%title%
%message%