Jump to content
Larry Ullman's Book Forums

osage_orange

Members
  • Posts

    2
  • Joined

  • Last visited

osage_orange's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I have it working now. I found that the downloadable zip from here on Larry's site does not include "bootstrap.min.js" in the project's "js" folder. (In fact, I just re-downloaded the zip to double check whether it is included, and the file is still missing.) Not sure if I'm missing something glaringly obvious in the code (or something that will be fixed later on), but in any case, I just went to the official Bootstrap site to get the bootstrap.min.js file (as of this date, the default file gets the dropdown up and running). Not a big problem, but if you're having trouble with this it's just a simple fix.
  2. I'm not able to get dropdown to function, though I'm following along with the book (and the downloaded code here on the site) and I don't see anything incorrect about my code. I did try fiddling with the CSS like the original poster, but that attempt wasn't successful (I don't really understand what he did, and the original code should work regardless). On page 73 of the book, when testing... $_SESSION['user_id'] = 1; ... the "Account" <li> does display, but the dropdown will not function. Likewise, a check for $_SESSION['user_admin'] has the same result. Otherwise, the layout looks fine.
×
×
  • Create New...