Menu icon Foundation

My Posts

No Content

My Comments

tenaz3 commented on Sebastian Komianos's post over 5 years

Sebastian maybe the foundation was not initialized properly. If you are using many libraries I suggest to you do this:

index.html.erb

.....
<%= yield %>

 <%= render 'layouts/foundation' %>

layouts/_foundation.html.erb

 <script>
    $(function(){ $(document).foundation(); });
</script>

Or yet you can call foundation direct in your element like:

$('#slider-orbit').foundation('orbit') 

Posts Followed

No Content

Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Sebastian Komianos's post over 5 years

Sebastian maybe the foundation was not initialized properly. If you are using many libraries I suggest to you do this:

index.html.erb

.....
<%= yield %>

 <%= render 'layouts/foundation' %>

layouts/_foundation.html.erb

 <script>
    $(function(){ $(document).foundation(); });
</script>

Or yet you can call foundation direct in your element like:

$('#slider-orbit').foundation('orbit') 

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content