2011-11-10, 21:55:13
Mvlcek: is there a way to prevent parent item from being clicked if it contains slugs ?
Let's say I'd like to show 2 menus.
One is a 1 lvl flat main menu bar, where 1 element contains nested siblings.
e.g. : index | page 1 | page 2 | contact
page 1 has siblings:
subpage1-1
subpage 1-1-1
subpage 1-1-2
subpage1-2
subpage 1-2-1
subpage 1-2-2
and so on
What I'd like to do, is to prevent subpage 1-1 and subpage 1-2 from being clicked.
I could do this by using jquery and using a click prevent function.
But I don't want to load jquery only to block clicking (I don't use any fancy things with jquery), and it won't work with disabled jscript.
I've got a feeling that some variables may be passed when invoking get_i18n_navigation, and get rid of <a href> for elements having class open.
It would be nice if such elements could be transformed into some kind of a header in menu.
I have a strange feeling that somebody asked for same thing long time ago.
Let's say I'd like to show 2 menus.
One is a 1 lvl flat main menu bar, where 1 element contains nested siblings.
e.g. : index | page 1 | page 2 | contact
page 1 has siblings:
subpage1-1
subpage 1-1-1
subpage 1-1-2
subpage1-2
subpage 1-2-1
subpage 1-2-2
and so on
What I'd like to do, is to prevent subpage 1-1 and subpage 1-2 from being clicked.
I could do this by using jquery and using a click prevent function.
But I don't want to load jquery only to block clicking (I don't use any fancy things with jquery), and it won't work with disabled jscript.
I've got a feeling that some variables may be passed when invoking get_i18n_navigation, and get rid of <a href> for elements having class open.
It would be nice if such elements could be transformed into some kind of a header in menu.
I have a strange feeling that somebody asked for same thing long time ago.
Addons: blue business theme, Online Visitors, Notepad