Results 1 to 3 of 3

Thread: [RESOLVED] [Bootstrap] Simple Navbar with Dropdown

  1. #1

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    11,754

    Resolved [RESOLVED] [Bootstrap] Simple Navbar with Dropdown

    I'm wanting to create a simple navigation that looks like this:
    Name:  menu.jpg
Views: 221
Size:  2.0 KB

    Whenever I try to follow the dropdown class and the navbar-right class, the dropdown doesn't work. Plus if I shrink the page, even slightly, it pushes the dropdown to the left and down.

    Here is a fiddle as an example: http://codepen.io/anon/pen/jALrEz
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | Code Tags | Sword of Fury - Jameram

  2. #2
    Frenzied Member tr333's Avatar
    Join Date
    Nov 2004
    Location
    /dev/st0
    Posts
    1,605

    Re: [Bootstrap] Simple Navbar with Dropdown

    http://codepen.io/anon/pen/GqvNzZ

    The navbar component requires the bootstrap javascript to be included on the page, which in turn requires jquery.

    This is also a good site for testing bootstrap: http://www.bootply.com/
    Last edited by tr333; Jul 6th, 2016 at 07:21 PM.
    CSS layout comes in to the 21st century with flexbox!
    Just another Perl hacker,

  3. #3

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    11,754

    Re: [Bootstrap] Simple Navbar with Dropdown

    Oh awesome! Thank you.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | Code Tags | Sword of Fury - Jameram

Posting Permissions

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



Click Here to Expand Forum to Full Width