Dropdown is not working (Ruby based site) |
|
Chris Mendla
|
I used an artisteer template for a ruby project. It worked well the first time with dropdowns working in the horizontal menu.
However, after I did some updates on ruby, the dropdowns are no longer working.
a portion of the nav code is.
<li><%= link_to "Categories", "/categories", class: "active" %>
<ul class="active">
<li><%= link_to "List Categories", "/categories"%></li>
<li><%= link_to "New Category", "/categories/new"%></li>
</ul>
</li>
<li><%= link_to "Help", "/help_requests/new", class: "active" %>
<ul class="active">
<li><%= link_to "Show help requests", "/help_requests"%></li>
<li><%= link_to "About", "/about"%></li>
</ul>
</li>
Before, when I would mouse over the first level items marked class : 'active', I would get the dropdown.
If I look in my styles area, I see
ul.art-hmenu ul
{
visibility: visible;
position: absolute;
z-index: 10;
left: 0;
top: 0;
background-image: url('images/spacer.gif');
If I change visibility to visible, then I see ALL of the dropdown items.
I'm trying to find a way to add a class or Javascript that would make the dropdowns visible on a hover.
thanks
chris
|
|
|
|