Good afternoon. I am a newbie at CF, so please bear with me.
We are creating the company intranet and I am working on the home page. I am trying to create a main menu/sub menu from a database, to avoid hardcoding and to make maintenance easier. I have created the DSN, and the query and the CFQuery and CFOutput work fine. They generate a main menu like this:
Departments
Applications
News & Events
Help
However, I want to write code on the OnMouseOver event,and I don't think that I can get to it for the individual members of a single CFOutput command. When a user moves his or her mouse over an item in the main menu, I would like the item to become bold and a sub item to appear to the right. I can write the query to get the submenu item, based on the ID of the item that the mouse is over, if I can retrieve the item the mouse is over.
I'm sure that I am not the first to try this. I would greatly appreciate any ideas, war stories, references, or resources. [sig]<p>Kathryn<br><a href=mailto: > </a><br><a href= > </a><br> [/sig]
We are creating the company intranet and I am working on the home page. I am trying to create a main menu/sub menu from a database, to avoid hardcoding and to make maintenance easier. I have created the DSN, and the query and the CFQuery and CFOutput work fine. They generate a main menu like this:
Departments
Applications
News & Events
Help
However, I want to write code on the OnMouseOver event,and I don't think that I can get to it for the individual members of a single CFOutput command. When a user moves his or her mouse over an item in the main menu, I would like the item to become bold and a sub item to appear to the right. I can write the query to get the submenu item, based on the ID of the item that the mouse is over, if I can retrieve the item the mouse is over.
I'm sure that I am not the first to try this. I would greatly appreciate any ideas, war stories, references, or resources. [sig]<p>Kathryn<br><a href=mailto: > </a><br><a href= > </a><br> [/sig]