[opencms-dev] Example template with tree menu
Paul-Inge Flakstad
flakstad at npolar.no
Thu Oct 28 19:02:45 CEST 2010
Hey Allan,
When you use folder-based navigation, like the native one in OpenCms, it should be just a matter of comparing resource (folder/file) names, and appending an appropriate class or ID.
I don't use OpenCms' native navigation, and I'm not familiar with the script on the wiki, so unfortunately I don't have any specific code suggestions. However, it looks pretty clean and understandable, so it shouldn't be too difficult to modify it to fit your needs.
Not the greatest help, perhaps, but hopefully I've pointed you in the correct direction at least. :)
Cheers,
Paul
________________________________________
Fra: opencms-dev-bounces at opencms.org [opencms-dev-bounces at opencms.org] på vegne av Allan Batista dos Santos [talent.abatista at bvsistemas.com.br]
Sendt: 28. oktober 2010 15:54
Til: opencms-dev at opencms.org
Emne: [opencms-dev] Example template with tree menu
Hi guys.
I use a tree menu from opencms wiki and it work fine. But I need to know how I can change class or id when a link is active when I navigate into menu level. i.e:
Mainlevel
Sublevel01
Sublevel02 (this level need to show in bold or any differ style...)
Anypage.html(I'm here)
http://opencms-wiki.org/Example_template_with_tree_menu
regards.
Allan
More information about the opencms-dev
mailing list