WebsiteBaker Support (2.8.x) > Templates, Menus & Design
How do you make the parent menu unclickable? <SOLVED>
Argos:
It would help if we could see the site. Can we get a URL?
tsb:
Im building the website in website baker portable, so havent got it online yet. I could send you the template Ive put together, which is based on the allcss2 template.
I will upload the zip file and post it up here, this is the unfinished template currently,
heres the link,*removed*
I hope this helps, cheers from everyone that has replied to this currently, its great to get some feedback on this,
Stefek:
Hello,
this should work:
--- Code: ---<?php show_menu2(0,SM2_ROOT,
SM2_ALL,
SM2_ALL,
'[li][if( level == 0 ){<a>[menu_title]</a>}else{<a href="[url]">[menu_title]</a>}]',
"\n</li>",
false,
false,
false,
'<ul id="header_menu" class="menu">'
);
?>
--- End code ---
Regards,
Stefek
tsb:
Thank You so much Stefek!, the last code you posted, did exactly what I was wanting.
:-)
Stefek:
You're welcome.
Regards,
Stefek
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version