Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Top level i18n menu highlighting
#1
I'm looking for a simple method for designating top level menus as having submenus when all are collpsed. The total number of items makes the entire menu too long so I am using it without Showall. It could be as simple as bold text for those with top submenu items. Just a visual cue for the user to expand to see more. Ultimately, I would like to have a triangle arrow that rotates. Now that I think about it, plus and minus signs would be ideal.

SNZ
Reply
#2
snooze Wrote:I'm looking for a simple method for designating top level menus as having submenus when all are collpsed.

I have updated the I18N plugin to version 1.4. It now adds the css classes "open" or "closed" to the list items with children. You can thus use CSS to style them appropriately, e.g.

Code:
li.open { background: url(path/to/my/minus.png) left center; }
li.closed { background: url(path/to/my/plus.png) left center; }
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply




Users browsing this thread: 1 Guest(s)