|
Making a dynamic menu that changes according to page, coldfusion maybe?
I'm doing a site... and it has a left menu with main section links. I have a style for the current page and one for other links. What I would like is the current page style to get applied to whatever the main page is currently with appropriate 'sublinks'. The site is using ColdFusion as a dynamic page language, so anything using that would be appreciated, but other suggestions are welcome as well.
To further clarify (i can't provide any photos)
you see a list of links:
main page
page 1
page 2
you click on 'another page', it goes to a page and the menu looks like:
main page
page 1
-sublink 1
-sublink 2
-sublink 3
page 2
right now i'm using a cfinclude tag for the left menu and have 2-4 versions for appropriate pages. would like to cut this down and maybe have something like
if on this page
then this info shows
elseif on this page
then this info shows
etc...
i would appreciate any help.
|