Comments (6)
I'm having this issue too. I'd like to build a floating navigation for a single-page layout and whenever I mess with the position attribute the navigation disappears off screen.
I've tried wrapping and styling the nav in a separate div, and tried experimenting with the .nav-collapse attributes in the stylesheet, nothing seems to work.
from responsive-nav.js.
need this too but it seems that the author has disappeared /-)
There is an option :
openPos: "relative", // String: Position of the opened nav, relative or static
Yes... but just do nothing and of course if we try top put "fixed" the menu is not visible...
from responsive-nav.js.
Not disappeared, just been crazy busy lately. :) Thinking of adding a new option for this next, so that the nav bar would stay fixed and then open the links on top of the content. How does that sound?
from responsive-nav.js.
That's sounds great :)
Envoyé de mon iPhone
Le 27 nov. 2013 à 18:43, Viljami Salminen [email protected] a
écrit :
Not disappeared, just been crazy busy lately. :) Thinking of adding a new
option for this next, so that the nav bar would stay fixed and then open
the links on top of the content. How does that sound?
—
Reply to this email directly or view it on
GitHubhttps://github.com//issues/62#issuecomment-29404554
.
from responsive-nav.js.
Actually, this is possible already, don’t event need to change any settings. Just working on a site where I needed this myself and you can achieve this behavior by just putting the whole navigation and the toggle inside a container which is fixed positioned.
I’ll try to add a new example about this as soon as I find time :-)
from responsive-nav.js.
I decided to go for absolute instead of fixed; I just want the mobile version of the nav to overlap content underneath, so I used position:absolute;width:100% on the nav's container.
from responsive-nav.js.
Related Issues (20)
- Navigation height with nested <ul> HOT 2
- responsiveNav is not defined HOT 2
- left nav cascaded
- Nav is buged
- closeOnNavClick variable changes location
- Multi-Level Responsive Nav
- Just a navigation. Clicking on navigation doesn't slide to anchor points?
- Checking if class exists
- Add opacity onScroll
- Support for Multi-level Nav HOT 1
- Appears from left or right
- Change hamburger to be an image so doesnt flash on page load
- Multilevel not opening on Android Chrome
- Using different customToggle when js-nav-active
- Plugin installation failed. (No valid plugins were found.)
- Nav not scrollable on dropdowns (where submenus available)
- Not working
- Unable to preventDefault inside passive event listener invocation. HOT 1
- How to initialize with a toggle?
- Explanation for installation process
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from responsive-nav.js.