Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder Common's Avatar
    Join Date
    Jan 2009
    Location
    Glasgow, UK
    Posts
    133
    Thanks
    16
    Thanked 13 Times in 13 Posts

    Technique/Plugin To Make Top Navbar Respond Into Slide Out Left Panel?

    Hello there

    Here's an example of what I'm looking to do: Backup Technology - Enterprise cloud backup, storage and disaster recovery solutions
    As you'll see on that website, the navigation begins in the top right, however as you resize your window or view in a mobile, a burger icon appears which, when tapped, slides out the menu from the left hand side of the page.

    Very common technique in web development at the moment, and one I think is very good for users, however I just can't figure out a way to do it. I've worked with jQuery which allows me to make very nice top navbars, and bootstrap likewise. I've also worked with jQuery mobile which allows me to make very nice slideout left menus easily, however how can I combine the two?

    Obviously I can just make two menus, and show either one depending on device width, but that's not very elegant. I only want to have one version of the actual menu code, and modify how it displays with css/jquery depending on device width.

    If anyone has experience creating this kind of interface I would love a kick in the right direction on (preferably) how I can recreate this myself, but equally a plugin that can do this would be interesting too.

    Thanks!

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,519
    Thanks
    8
    Thanked 1,090 Times in 1,081 Posts
    It's all part of JQuery.

    I'm not sure of the exact method they use, but this might help you:
    Responsive drop down menu with CSS media queries & jQuery | Justin W. Hall


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •