ComputerWolf / SlickNav

Responsive Mobile Menu Plugin for jQuery
MIT License
939 stars 314 forks source link

HTTPS is not allowing the menu to load #21

Closed HealingRooms closed 10 years ago

HealingRooms commented 10 years ago

When testing the SlickNav menu on an HTTPS website, the menu outputs as a UL list, with a separate LI per each line, rather than condensing it into the mobile-friendly Menu button.

I believe this is due, in part, to the referencing of the modernizr.min.js file using an insecure HTTP path, http://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js, and another insecure path, http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js.

Changing both of those to force a secure connection seems to solve the problem.

ComputerWolf commented 10 years ago

@HealingRooms, those scripts can be called using https if so desired. The demo files simply show one example of how SlickNav can be used and doesn't cover all use cases.