Coder Social home page Coder Social logo

Comments (6)

StraubCreative avatar StraubCreative commented on July 28, 2024

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.

igauthier avatar igauthier commented on July 28, 2024

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.

arielsalminen avatar arielsalminen commented on July 28, 2024

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.

igauthier avatar igauthier commented on July 28, 2024

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.

arielsalminen avatar arielsalminen commented on July 28, 2024

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.

mattypants avatar mattypants commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.