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!
(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.
Thanks Mvlcek! I will try this, and report back!
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!
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!
problems with IE6 are no problems at all.
This browser is 15 years old ;=)
just ignote that browser version!