Page 5 of 5

Re: Questions about Bootstrap

Posted: Thu Nov 13, 2014 9:45 am
by nyxmidnight
My pleasure! Congratulations on a job well done!

Re: Questions about Bootstrap

Posted: Thu Nov 13, 2014 4:51 pm
by Robin
:D I'm just glad some of the code knowledge finally stuck to my brain cells, LOLOL

(Also, one of my Choral Society buddies asked me about building a little website for her craft business, so hey, might be getting a paying gig soon ^_^)

Re: Questions about Bootstrap

Posted: Sun Sep 27, 2015 11:01 pm
by Robin
Guess who's back...back again... xD

Okay, working on changing over a site to Bootstrap. Main problem right now is my navigation; I've been trying to get dropdown menus going, but I'm not sure where to find the Javascript plugin to make it work. Right now none of the dropdown links or menus show up at all. Also the "data-toggle" and "data-target" stuff is completely alien to me XD

Here is what I have so far in my code, which is basically a mess of copypastas from various Bootstrap documentation:

Code: Select all

<nav class="navbar navbar-default navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="index.php">College Knowledge</a>
		  
        </div>
        <div id="navbar" class="navbar-collapse collapse">
		<div class="dropdown">
			<a class="dropdown-toggle" id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="/page.html">Know Before You Go</a>
		    <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
				<li><a tabindex="-1" href="safesecure.php">Safety and Security</a></li>
				<li><a tabindex="-1" href="wirelesscomputing.php">Wireless Computing Tips</a></li>
				<li><a tabindex="-1" href="dressingforclass.php">Dressing for Class</a></li>
				<li><a tabindex="-1" href="buyingbooks.php">Buying Textbooks</a></li>
    </ul>
		</div>
        </div><!--/.navbar-collapse -->
      </div>
    </nav>
I know I'm just missing something simple...a connection between ideas, maybe, or I've got the code pasted in the wrong places. Bleh. Tried using the default jumbotron template as a springboard, but I've just managed to eff it all up. XD

Re: Questions about Bootstrap

Posted: Mon Sep 28, 2015 2:31 am
by Camy
Hmm, you are missing <ul class="nav navbar-nav"> and other stuff so I'll just link you to one of the templates for you to snag it from http://getbootstrap.com/examples/navbar/

Re: Questions about Bootstrap

Posted: Mon Sep 28, 2015 4:51 pm
by Robin
@Camy: OOO thank you! I got the fixed navbar code copy-pasted in, and that seems to have solved both the formatting AND links issues (no idea why it helped the formatting, but okay, LOL). Hopefully now I can edit it without screwing it up again ^_^;

Re: Questions about Bootstrap

Posted: Sun Oct 04, 2015 5:46 am
by Camy
You're welcome xD