Page 1 of 1

[SOLVED] Modification of cssmenu.tpl to disable parent link

Posted: Thu Nov 13, 2008 10:39 pm
by clefty
Hi,

There's probably an easy answer to this but a Google site search hasn't found anything.

I have a vertical css menu based on the core cssmenu.tpl and css-vertical css.

What I'm trying to achieve is show a parent element e.g Services, which on hover will show the child elements e.g. "Hosting", "Domain Registration". I'd like the child elements to be clickable to the page alias, but the parent to be an anchor for the dropdown, not a link itself.

I've been messing with cssmenu.tpl but to no avail.

I'm sure there's an easy solution to this thats alluding me. Has anyone achieved this?

TIA,

Chris

Re: Modification of cssmenu.tpl to disable parent link

Posted: Fri Nov 14, 2008 5:03 am
by Nullig
Just make the Services menu item a "Section Header" content type.

Nullig

[SOLVED] Re: Modification of cssmenu.tpl to disable parent link

Posted: Fri Nov 14, 2008 10:08 am
by clefty
Thanks Nullig,
How embarrassing! Being more a coder than designer, I went straight to the template/css rather than look at the tools provided ..
Chris