enile
05-23-2007, 09:36 AM
1) Script Title: DD site menu (the one used on every page)
2) Script URL (on DD): All pages, e.g. http://www.dynamicdrive.com/dynamicindex12/
3) Describe problem: (more a question)
The leftbar menu in the DD site has an ID assigned to each menu item.
The menu item for the current page has a local change to its CSS, black text and grey background - e.g.
<STYLE type="text/css">#c12 a{ color: black; background: #F0F0F0}</STYLE>
though this is not visible in the source code for the page. How is the menu ID read and then how is this style change made?
4) Background: I am producing a menu, with submenus, in one frame that controls html and pdfs in another, the menu will remain but update its state to reflect the last click. This will also require clearing previous state changes. I would also appreciate any pointers to anything ready made for this.
2) Script URL (on DD): All pages, e.g. http://www.dynamicdrive.com/dynamicindex12/
3) Describe problem: (more a question)
The leftbar menu in the DD site has an ID assigned to each menu item.
The menu item for the current page has a local change to its CSS, black text and grey background - e.g.
<STYLE type="text/css">#c12 a{ color: black; background: #F0F0F0}</STYLE>
though this is not visible in the source code for the page. How is the menu ID read and then how is this style change made?
4) Background: I am producing a menu, with submenus, in one frame that controls html and pdfs in another, the menu will remain but update its state to reflect the last click. This will also require clearing previous state changes. I would also appreciate any pointers to anything ready made for this.