On my home page I have a page part called menubar which uses the
This displays the main navigation and works well. I only have one issue
with it. I would like to highlight to the user which section they are
currently in. The CSS has been setup so all I actually need to do is
something like this, by just using the class = “on”:-
At the moment, I am thinking about having to create separate menubar
snippets for each section and using some kind of if statement. Is there
simple way to do what I need?
My next question relates to using snippets as global variables. I
create a snippet called CompanyName. I wanted this snippet to use
and simple be the company name e.g. Company Name. I figured that if
company named changed it would be child’s play to change it throughout
The only problem is that when I call the snippet it adds a line break
is no good as it would be typically put into regular paragraphs. Is
anyway to achieve global variables for a website?
Thanks in advance
This e-mail has been scanned for all viruses by MessageLabs.