Menu icon Foundation

Developer

My Posts


My Comments

Minghua Zhao commented on Minghua Zhao's post about 4 years

I just realized I put Framework as "Email".... should have been "Sites".... Is there a way to edit? :(

Minghua Zhao commented on Björn Steneram's post about 4 years

Have you tried putting

$(document).on('ready page:load', function () {
  $(document).foundation();
});

in your "app/assets/javascripts/application.js"

?

Minghua Zhao commented on Fredric Tillberg's post almost 6 years

This worked for me.
I'm running on MacOS Marvericks, Rails 4 and Ruby 2.

settings_file = File.join(File.dirname(__FILE__),"..", "..", "..", "..","vendor", "assets", "stylesheets", "foundation", "_settings.scss")

It basically translates to this path:

 /Users/minghuazhao/.rvm/gems/ruby-2.0.0-p247/gems/foundation-rails-5.0.3.0/vendor/assets/stylesheets/foundation/_settings.scss

Posts Followed

  • 3
    Replies
  • Problem with tabs

    By Björn Steneram

    Foundation 5tabs

    I'm using Foundation 5 for my Ruby on Rails app. I want to add tabs to one off my pages. The tabs show up but when i try to click on the different tabs it doesn't work. Nothing happens. When i reload the page the tabs starts working and i can click on the... (continued)

    Last Reply by Minghua Zhao about 4 years ago



Following

    No Content

Followers

My Posts

My Comments

You commented on Minghua Zhao's post about 4 years

I just realized I put Framework as "Email".... should have been "Sites".... Is there a way to edit? :(

You commented on Björn Steneram's post about 4 years

Have you tried putting

$(document).on('ready page:load', function () {
  $(document).foundation();
});

in your "app/assets/javascripts/application.js"

?

You commented on Fredric Tillberg's post almost 6 years

This worked for me.
I'm running on MacOS Marvericks, Rails 4 and Ruby 2.

settings_file = File.join(File.dirname(__FILE__),"..", "..", "..", "..","vendor", "assets", "stylesheets", "foundation", "_settings.scss")

It basically translates to this path:

 /Users/minghuazhao/.rvm/gems/ruby-2.0.0-p247/gems/foundation-rails-5.0.3.0/vendor/assets/stylesheets/foundation/_settings.scss

Posts Followed


Following

  • No Content

Followers

  • No Content