I am a leading web developer working on my first project with serious rails (v3.2.8). I have successfully installed Foundation version 3.2.0 using the gem.
I'm having trouble switching navigation, which appears on smaller screen sizes and is used to expand and smooth navigation links. When I click on him, he does nothing.
(You can see the documentation for the sensitive zurb nav on your website: http://foundation.zurb.com/docs/navigation.php ).
This code:
<nav class="top-bar">
<ul>
<li class="toggle-topbar">
<a href="#"></a>
</li>
</ul>
<section>
<ul class="right">
<li class="has-dropdown">
<%= link_to "#{@user.email} | #{@user.credits_count}",
dashboard_path, :class => 'first-link' %>
<ul class="dropdown">
<li>
<a href="#">Settings<i class="icon-cog"></i></a>
</li>
<li>
<a href="#">Downloads<i class="icon-cloud-download"></i></a>
</li>
<li>
<a href="#">Subscription<i class="icon-calendar"></i></a>
</li>
<li>
<%= link_to 'Purchase Credits <i class="icon-money"></i>'
.html_safe, credits_path %>
</li>
<%= render "shared/menu_bar" %>
</ul>
</li>
</ul>
</section>
</nav>
The odd part when I delete:
<ul>
<li class="toggle-topbar">
<a href="#"></a>
</li>
</ul>
... Everything works as it should, but the first link:
<%= link_to "#{@user.email} | #{@user.credits_count}",
dashboard_path, :class => 'first-link' %>
... - , , , .
, , ?
.