I have been trying to figure out how the Google Venture Side-Nav works. I was able to get it to work on my computer locally, but it does not work once loaded onto Dreamhost's server at http://bikingagainstcancer.com/.

I wondered if anyone had any suggestions for how to get the nav bar to collapse? Any help would be appreciated! I am very new to coding, so please let me know what other information would be helpful and thanks in advance.

有帮助吗?

解决方案

The problem is the check you have in scripts.js:129

if (isHome() || !collapsableNav) { return; }

isHome() returns true on the frontpage, so the test passes, and the function returns.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top