Grow your CSS skills. Land your dream job.

Bootstrap.js not working on Codepen

  • # December 6, 2012 at 8:58 pm

    Help, no mater what I do I can’t seem to get a simple bootstrap toggle button working in Codepen.
    http://codepen.io/davidelrizzo/full/Cowjz

    I am linking to the cdnjs repository of bootstrap.js as recommended.
    I have this working perfectly on a standalone html file with all the same includes.
    Either I am doing something stupid or Codepen doesn’t like bootstrap.js

    # December 6, 2012 at 9:26 pm

    Works in the full preview, but not in the pen. Weird.

    Looking further into it, <script src='http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.2.1/bootstrap.min.js'></script> isn’t being loaded in the pen view; only in the full view. Maybe a bug? @chriscoyier might know?

    # December 8, 2012 at 4:30 pm

    @davidelrizzo looking into it.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".