A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.
I've been playing with different skins and created some within Artisteer with different menu types (horizontal and vertical). What I would like to do is settle on using a horizontal menu but I would like to stop users being able to click on a top menu item if there are child pages.
For instance, assume we have a News Top Level section which has a Blog and Events child pages, then what I want in the News item to appear in the top level menu but I do not want this to link to a page, and rather only expose the child pages a clickable to the user.
Can this be done?
i needed this feature too, but couldn't work it out :(
Although I haven't found a solution, I have ended up removing all content on the main page, then setting the "Show Child Pages Site Map?", so just the child pages show on the page. Bit rubbish, but the best I can do.
People have asked about this enough over time that I will look into implementing a solution in the near future. I've put it on my to do list so I won't forget about it.
thanks for the update :)
I am looking forward to this update also :)
Maybe not an ideal solution to this problem, but in my situation, it was easiest to use jQuery to accomplish this task:
$('.AspNet-Menu-Horizontal a.static').attr("href", "#") //disable top-level links by replacing with #s
If your menu isn't using the "static" class name for top-level links you could easily adapt the above jQuery to select only those links you need to change.
This was made possible with release 184.108.40.206. You can read how to make a menu item unclickable here: http://www.mojoportal.com/unclickable-menu-items.aspx.
Thanks Joe. I had a vague recollection that this was done earlier but couldn't find out how to do it at first attempt, so I really appreciate your response.