Bootstrap Tutorial for Beginners - 11 - Sidebar Menu Templates

Поделиться
HTML-код
  • Опубликовано: 13 июн 2024
  • Source Code: github.com/thenewboston-devel...
    Core Deployment Guide (AWS): docs.google.com/document/d/16...

Комментарии • 105

  • @Jeyloh94
    @Jeyloh94 7 лет назад +10

    You know you're a coder when your answer to "What's your favorite color" is "Hashtag 2C3E50" haha. Great tutorial!

  • @estebancol4
    @estebancol4 8 лет назад +1

    This is great! I'd say this is the start of level 2 compared to the previous videos haha

  • @asenyakimov1605
    @asenyakimov1605 9 лет назад

    Nice one, keep doing them, really helpful.

  • @sennaweasley
    @sennaweasley 8 лет назад

    This was very helpful. Thank you!

  • @WaspLife
    @WaspLife 6 лет назад

    If it's not displaying, make sure the tag for jQuery is BEFORE the script for toggling the sidebar.

  • @arunjn197
    @arunjn197 8 лет назад

    Both Tutorial are awesome fix my very big headache

  • @adanxasan9326
    @adanxasan9326 8 лет назад

    Thank u very much Mr Bucky. I learnt a lot from you.

  • @rambabumeena9985
    @rambabumeena9985 7 лет назад

    easy and awesome way to explain and really helpful thank you very much to provide such a wonderful tutorial...

  • @RonitGhosh
    @RonitGhosh 8 лет назад +10

    I guess he meant overflow-x and not overflow-y, right?

  • @Mojoman1
    @Mojoman1 8 лет назад

    Hey bucky which web development platform do you use to make your site? Elegant looking site, man!

  • @junelleXIII
    @junelleXIII 6 лет назад +1

    how about if you have a dropdown menu? i am having a big problem, i followed your tutoria and it worked but the problem is i have a dropdown menu

  • @ct10101
    @ct10101 8 лет назад

    Great video, thanks

  • @ellsonmendesYT
    @ellsonmendesYT 3 года назад

    nice and sharp!

  • @BruceKoehler
    @BruceKoehler 9 лет назад

    Bucky, would it be possible to add a CSS transition effect to the sidebar menu? Something like an ease in effect?

  • @iosonoi.7132
    @iosonoi.7132 3 года назад +1

    how come when i try it, my text stays behind the the sidebar :( I never understand why when I follow along it never works.

  • @hyeonilchoi7630
    @hyeonilchoi7630 7 лет назад

    Thanks this information. Thank you.

  • @eliel10268
    @eliel10268 2 года назад

    great content.

  • @sheraztariq8973
    @sheraztariq8973 7 лет назад +2

    how can we display sidebar icons when its not displaying

  • @nadiajsilva
    @nadiajsilva 7 лет назад

    amazing! thank you!!

  • @xtnpxjakeo
    @xtnpxjakeo 5 лет назад

    Thanks for explaining every part. I mean how else are we really supposed to learn by copy and pasting some code. This worked great for me. My only thing is, I can't get the button to go over the top of my navbar. I've tried a couple things like pull-left or even other menus but it won't go over the top of my navbar haha anyway great job dude, I will definitely be watching more of your videos.

  • @MohamedGamal11111
    @MohamedGamal11111 4 года назад

    please, If I want to place an image and make it move with sidebar menus using HTML, CSS and JavaScript, what should I add to the javascript code?

    function myFnc(e){
    var elem = document.getElementById("navID"),
    style = window.getComputedStyle(elem),
    top = style.getPropertyValue("right");

    if(top == "0px"){
    elem.style.right = "-270px";
    }else{
    elem.style.right= "0px";
    }

    }

  • @kabmeisterkabs1220
    @kabmeisterkabs1220 7 лет назад

    Well done Sir

  • @aerotechplustwo6914
    @aerotechplustwo6914 7 лет назад +1

    instead of padding-left:250px; why don't you replace padding-left with margin-left because padding-left overlays over the toggled division.. it makes more sense

  • @aniketjha2430
    @aniketjha2430 7 лет назад

    what should be done if i want the toggle menu to come over bottom layouts.

  • @rakistas32
    @rakistas32 7 лет назад

    thank you so much!

  • @vipinyadav-to1wc
    @vipinyadav-to1wc 5 лет назад

    how can we adjust the display of side bar on clicking of button . The site on which Bucky is working has an elegant sidebar which gets displayed in an animated way (kinda slow)........ how can i do that ?

  • @obsdig
    @obsdig 7 лет назад

    Which too you are using here in this video for bootstrap ???

  • @kushalmajumder4588
    @kushalmajumder4588 6 лет назад

    hi @thenewboston what i need to do in the javascript portion if i want do display the menu by default?

  • @drashyakushwah5452
    @drashyakushwah5452 7 лет назад

    Can pycharm community edition also create sidebar menu templates ??
    Cozy in my program this code is not working :(

  • @RonitGhosh
    @RonitGhosh 8 лет назад

    how to code such that the sidebar disappears and appears slowly and smoothly as in Bucky's site?

  • @zaidiftikhar9938
    @zaidiftikhar9938 7 лет назад

    where nested hover effect code..i wanna this .When i clicked back to small side it did not show me result of hover effect i give two time hover effect in nested menus of div it was show me nested div inside of parent div

  • @iam123elii
    @iam123elii 8 лет назад

    got the exact same thing, but the hover thing doesn't seem to work on mine [edit: the links in the sidebar-nav doesn't work either]

  • @AnkitThakur_tank
    @AnkitThakur_tank 8 лет назад

    i'm not able to give a background color to #wrapper , any particular reason?
    rest of it works great !! .

  • @rannisragadio623
    @rannisragadio623 8 лет назад +8

    i have a problem . .if i click the toggle btn . nothings happen ..
    please help me

    • @Kevin007766
      @Kevin007766 8 лет назад

      +rannis ragadio
      just check ur class name on javasript or css are same.

    • @LO000L
      @LO000L 8 лет назад +2

      +rannis ragadio Maybe you dont have jquery?

    • @Leverquin
      @Leverquin 7 лет назад +1

      click again
      did you include jquery?

    • @chaitanyadokara6654
      @chaitanyadokara6654 6 лет назад

      what should be class name on javascript and css

  • @szafar5797
    @szafar5797 3 года назад +1

    Hi
    not working when i click on the button nothings happend

  • @harshbulchandani
    @harshbulchandani 8 лет назад

    How to align the sidebar on right side instead of left??

  • @kitarafrei8937
    @kitarafrei8937 7 лет назад +1

    Hi, when the page has a lot of content, when you scroll down the menu background doesn't go to the end. How can we fix that? Thank you, great tutorial!

    • @kamaljoshi5445
      @kamaljoshi5445 7 лет назад

      Hey, do you find any solution about it, I am in same problem now.

    • @adram7961
      @adram7961 6 лет назад

      Make sure you put height: 100% in sidebar-wrapper styling

  • @daverdal1
    @daverdal1 6 лет назад +1

    great info, but if you use a black background in your code you should use it in your webpage. My eyes get destroyed when you switch screens.

  • @m41kdevelops41
    @m41kdevelops41 8 лет назад

    Genius ...

  • @chrisell8176
    @chrisell8176 7 лет назад

    What you did is place on the left, how can I put the side bar on the right? Thanks :)

    • @chrisell8176
      @chrisell8176 7 лет назад

      I'm gonna try it on and I'll update you. Thanks for your reply :)

  • @TheNLtermsofficieel
    @TheNLtermsofficieel 9 лет назад +10

    can you do an updated serie of php for beginners the most of that from alex is not working

  • @claramartins4798
    @claramartins4798 7 лет назад

    How can we have menu on left and also on right?

  • @Uch33z3
    @Uch33z3 7 лет назад

    Also, if you wanted a navbar like on your thenewboston website, would you place it in the page-content-wrapper?

    • @adram7961
      @adram7961 6 лет назад

      No, place it outside #wrapper

    • @tonyiguru7595
      @tonyiguru7595 4 года назад

      I simply just left my navbar where it was and minimized it in pycharm, and started my sidebar code underneath it:


      ******* THIS WHOLE AREA IS MINIMIZED ********




      .......

  • @JDMedia
    @JDMedia 7 лет назад +1

    Hello,
    can anyone help me
    I did same as tutorial but it's not working once I click "toggle menu"
    I think there is an error in java script part, please check below
    $("#menu-toggle").click(function (e){
    e.preventDefault();
    $("#wrapper").ToggleClass("menuDisplayed");
    });

    • @jobgroen5722
      @jobgroen5722 7 лет назад +3

      $("#menu-toggle").click( function (e){
      e.preventDefault();
      $("#wrapper").toggleClass("menuDisplayed");
      });

    • @JDMedia
      @JDMedia 7 лет назад

      Thanks lot

  • @shaikismailzabiullah8737
    @shaikismailzabiullah8737 5 лет назад

    which text editor do you use?? Please send the link of that editor to download it safe!

  • @Abstractpaintings1
    @Abstractpaintings1 7 лет назад

    Is there a way to to have a tab attached to the actual side bar instead of having the toggle menu button

  • @adanxasan9326
    @adanxasan9326 8 лет назад +1

    It didn't work for me at first, but when I removed #wrapper from the two below, it worked perfectly.I don't know the reason.could someone explain it for me.thnx
    #wrapper.menuDisplayed #sidebar-wrapper{
    width: 250px;
    }
    #wrapper.menuDisplayed #page-content-wrapper{
    padding-left: 250px;
    }

    • @MarkROfficial
      @MarkROfficial 8 лет назад

      So if you replace the #wrapper.menuDisplayed with just '.toggled' then that actually works as well, no idea what happens here but that's a better workaround.

    • @adanxasan9326
      @adanxasan9326 8 лет назад

      thanx bro.I really appreciate

  • @TheErudite21
    @TheErudite21 7 лет назад

    Thanks for the tutorial! Got most of it working but one major thing!
    The links/tabs dont work! Nothing happens when I hover over it, and the browser doesnt even indicate that it should be link (ie no little link preview at the bottom of my window)
    I included all the CDNs and triple checked the code....
    Admittedly I am doing this inside of another project that I need this sidebar for... however I dont see any conflicting reasons as to why it wont work.
    I suppose I'll make a standalone thing to check but.... sigh... kinda pointless if this does not work in my current project.

    • @adram7961
      @adram7961 6 лет назад

      I have the exact same problem lol. Was scrolling through comments to see if anyone had the same problem. Find any solution?

    • @adram7961
      @adram7961 6 лет назад

      Hey, just found the solution. Instead of padding-left, use margin-left. The boding overlapping the sidebar caused problems.

  • @Uch33z3
    @Uch33z3 7 лет назад

    How can the toggle animation smoother? i.e it slides out rather than just popping out

    • @SnoxGaming
      @SnoxGaming 7 лет назад +2

      add (without quotes) " transition: .5s ease-out; " to #sidebar-wrapper and #page-content-wrapper

  • @poornimasampathbabu2646
    @poornimasampathbabu2646 8 лет назад

    hey hi even for me also when i click the button nothing is happening.I dunno where i did mistake? Please could you help me

    • @nikhilsonwane2134
      @nikhilsonwane2134 8 лет назад +2

      +Poornima Sampath babu add the jquery file

    • @yadunandanpillai2899
      @yadunandanpillai2899 8 лет назад

      +Poornima Sampath babu Look at the site on chrome, first of all. Internet Explorer may have issues if you are using it.
      Also, right click the page, click inspect element, and click on console. Copy paste the error here (if there are any)

  • @Wazzup800
    @Wazzup800 8 лет назад

    This version doesn't fade, not sure why he didn't just explain the version he used on his site.

  • @amanraturi1268
    @amanraturi1268 7 лет назад

    use of z index ?

  • @reetbhattacharya7907
    @reetbhattacharya7907 9 лет назад

    hey can u pls gv the source code? thnx BTW awesome tutorials

  • @KennethIsrael_aiikendoit
    @KennethIsrael_aiikendoit 9 лет назад

    hey bucky, what text editor you used?

  • @sandeephrithik522
    @sandeephrithik522 6 лет назад

    hi sir my desing sidebar not working

  • @weirdinventor
    @weirdinventor 9 лет назад +1

    Hey Becky please make an "Intellij idea tutorial " please !!!!!!

    • @gouthamprabhakar8288
      @gouthamprabhakar8288 8 лет назад

      +iBrahim Houache github.com/buckyroberts/Source-Code-from-Tutorials/tree/master/Bootstrap/sidebar

  • @Tayyabloverobotics
    @Tayyabloverobotics 6 лет назад

    This doesn't work for me, I don't know why... I tried to remove all my code at the end and copied Bucky's code from the github but it didn't worked. I thought its jquery but after testing that, it was not the problem. Can anyone help or anyone had the same issue? Or anyone can give me a link to a nice tutorial where I can find the same thing but with bootstrap?

    • @adram7961
      @adram7961 6 лет назад

      Did you include the jquery and bootstrap.js file?

    • @Tayyabloverobotics
      @Tayyabloverobotics 6 лет назад +1

      Ad Ram yes I have included jquerry and the rest of the tutorial were fine. I was using jet brains ide webstorm and here I selected twitter bootstrap. When I changed my idea to atom and sublime, it worked, although there was not Twitter bootstrap this time. I don't know why it worked now and not before? Twitter bootstrap he mentioned in first videos

  • @shoreline2733
    @shoreline2733 9 лет назад

    Is that sublime text editor?

    • @Colstonewall
      @Colstonewall 8 лет назад +2

      Shoreline No. . .It's IntelliJ Idea from Jetbrains.

  • @jsihavealotofplaylists
    @jsihavealotofplaylists 9 лет назад

    Bucky I love you!
    I am going to be like you ;-;

    • @saalleER
      @saalleER 6 лет назад

      Are you like him now xD?

  • @richardfink8160
    @richardfink8160 8 лет назад

    Why didn't show how to do it the "standard" way? And include the toggle button in the navbar like on your site? We are all "newbies", so showing us different and unique ways makes it harder to learn. Good videos none the less !

  • @amitnair92
    @amitnair92 7 лет назад

    how to add footer to entire page,without sidebar overlapping footer.

    • @adram7961
      @adram7961 6 лет назад

      #sidebar-wrapper{
      height: 95%
      }
      (Assuming footer occupies 5%, tweak height according to height of footer)

  • @zhenzhouyu4311
    @zhenzhouyu4311 7 лет назад

    this method has a problem. Because you make sidebar and main content are absolute position.Then if you want add something outside the wrapper,it will get mess.

    • @zhenzhouyu4311
      @zhenzhouyu4311 7 лет назад

      Sorry,my fault,because the element is positioned relative to its first positioned (not static) ancestor element

  • @xXxBladeStormxXx
    @xXxBladeStormxXx 9 лет назад

    Great tutorial so far but it's kinda incomplete.
    You don't show how to add transition effect. You don't show how to polish it all and finish it off. Should have done more tutorials on this one, especially since such sidebars are hot today.

  • @dardanisufi8691
    @dardanisufi8691 7 лет назад

    height: 100vh ; it's mutch better then 100%

  • @tejedaAlex
    @tejedaAlex 8 лет назад

    Thanks pal, I have no problem with js, programming or other stuff, but I'm to lazy for the css stuff, anyways, for those interested on how to animate the sidebar show-hide, check: gist.github.com/atejeda/21c0e0243a745299815b

  • @Etienne_H
    @Etienne_H 9 лет назад

    It’s best to do this manually and use em instead of px and make the entire layout scalable and elegant. Plus the extra work load. Millennial developers are so wasteful, no wonder phone batteries die so fast.

    • @___-ls9ly
      @___-ls9ly 8 лет назад +2

      +Rene Hupfer This adds virtually 0 extra work load and wouldnt affect battery life at all. Nothing in this is even close to affecting the battery at all.

    • @Etienne_H
      @Etienne_H 8 лет назад

      [___ ] still not a clean way to work. framework stackers…… steve wozniak would agree with this fyi.

    • @___-ls9ly
      @___-ls9ly 8 лет назад +3

      Rene Hupfer The code isnt the cleanest, however your saying millennials kill batteries so fast because of things like this is ludicrous.
      Also, unless you have a quote of steve wozniak saying he agrees. You cant use that as an argument. For instance, I could say steve wozniak would disagree, without any sources it is meaningless.

  • @Deadrooster000
    @Deadrooster000 9 лет назад

    39 seconds ago?

  • @Leverquin
    @Leverquin 7 лет назад

    i kinda would like an apple pie.