jejacks0n / navigasmic

Navigasmic: Semantic navigation for Rails using simple view level or configuration definitions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

List items should use classes not ids

zubin opened this issue · comments

The reason is that ids should be unique. Having <li id="videos"></li> means you can't (validly) have <div id="videos"></div> on the page.

The following nav structure would also result in duplicates:

  • People
    • Info
  • Products
    • Info

You're right. I've been meaning to get this addressed for myself as well. Will try and do some work in the next week or so.