Menu place holder

Permalink 1 user found helpful
Hi everyone,

I'm using a custom made menu with subitems, that completely depends on CSS (no JavaScript). I want some of my 'main' items, to NOT be a link, just a place holder to hover for opening my submenu.

I found the 'javascript:void(0)' solution, but that doesn't work for me, since I want the menu to open on mouse-hover, not click.

So, is there a way to create menu-items that are NOT links, just place holders? If so, how do I do it? :)

Thanks!

Tom

 
Tommiiee replied on at Permalink Reply
Anyone? :)
JohntheFish replied on at Permalink Reply
JohntheFish
You could look at jordanlev's improved autonav view, then use that as the basis for a custom view that has the html and classes you want.

https://raw.github.com/jordanlev/c5_clean_block_templates/master/aut...

Also, not your issue, but there is some discussion on subnav menus at http://www.concrete5.org/community/forums/usage/subnav-url/... that may be helpful.

You could also redirect so a click on the parent item you don't want clicked would go to the first child item in the menu.
Tommiiee replied on at Permalink Reply
How do I redirect?

I've tried the 'Alternative URL', but that doesn't send the user to the first child item..
PauloCarvalhoDesign replied on at Permalink Reply
PauloCarvalhoDesign
Using the javascript void,
You can use display attribute.
example(

.ul.submenu{display:none}
.ul.sbumenu:hover{display:block;}





)
Tommiiee replied on at Permalink Reply
Anyone have other solutions, maybe?