The method that Zurb posted in the applications section of their website
isn't firing off the JavaScript commands for many of the components that
they have available for developers.
Here's the setup
application.html.erb
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
application.scss.css
/*= require foundation */
@import "foundation_and_overrides";
application.js
//= require foundation
$(document).foundation();
I used the modernizr gem and installed it directly to support the
JavaScript.
Even so, with everything put in place. My drop-down buttons aren't
working..Only for the top-bar which has no-turbo-link added to disable
them.
If you found out a way to solve this issue. Please, let me know. I'm
currently at a stand still and many of the Zurb features are completely
useless without the JS enabled.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/17ee2cc31168fc66afeb191a98d0bee5%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment