You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
Hi, I've been trying to get past this one for a while.
I load jquery in the head followed by Modernizr.
In the footer I load foundation.js (which includes offcanvas when grunt build is run).
Right at the end, just before the end of the file I have the following.
I always get the javascript error Uncaught TypeError: $(...).foundation is not a function
I've tried disabling other plugins, loading offcanvas separately (after removing it from grunt build), wrapping the footer script in more wrapper functions, etc.,
Any ideas on how to make this work. My offcanvas menu doesn't close when an item is clicked (my menu items are mainly anchor tags within the main page).
The text was updated successfully, but these errors were encountered:
I seem to have solved this by adding the following just before the closing
implicitly initializing foundation and FastClick (not by including them in foundation.js), and wrapping everyone in IIFEs
Hi, I've been trying to get past this one for a while.
I load jquery in the head followed by Modernizr.
In the footer I load foundation.js (which includes offcanvas when grunt build is run).
Right at the end, just before the end of the file I have the following.
I always get the javascript error Uncaught TypeError: $(...).foundation is not a function
I've tried disabling other plugins, loading offcanvas separately (after removing it from grunt build), wrapping the footer script in more wrapper functions, etc.,
Any ideas on how to make this work. My offcanvas menu doesn't close when an item is clicked (my menu items are mainly anchor tags within the main page).
The text was updated successfully, but these errors were encountered: