Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i18n - How to display only a first few menu items?
#1
Hello all!

Does anyone know how could i display only a few first items of a menu, using a i18n menu plugin (on 3.0 cms)?


Thanks!
Reply
#2
(2012-11-12, 21:53:54)mrmut Wrote: Does anyone know how could i display only a few first items of a menu, using a i18n menu plugin (on 3.0 cms)?

The easiest way to just hide the other items with CSS, like here (assuming class sitemenu on the menu's ul):
Code:
ul.sitemenu li + li + li + li { display: none; }
which will hide all but the first 3 entries.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#3
Thanks Mvlcek! I will try this, and report back!
Reply
#4
Thank you very much, this worked like a charm! :-)

Do you have any knowledge how does this classes work on older browsers? - I haven yet managed to test it!
Reply
#5
I did test this, and it seems there are some problems with IE6.
No problems with IE7, tho, so I consider this a non-issue.


Thanks a lot for your help!
Reply
#6
problems with IE6 are no problems at all.
This browser is 15 years old ;=)

just ignote that browser version!
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply




Users browsing this thread: 1 Guest(s)