Thanks for the help!
Your solution for the second problem worked great.
The glossy accordion menu can be found at the same link just further down the page. (http://www.dynamicdrive.com/dynamici...ordionmenu.htm)
As for where the code partaining to the mouseover event:
Code:
<style type="text/css">
.glossymenu{
margin: 5px 0;
padding: 0;
width: 170px; /*width of menu*/
border: 1px solid #9A9A9A;
border-bottom-width: 0;
}
.glossymenu a.menuitem:hover{
background-image: url(glossyback2.gif);
}
...
In addition to this, the div tag that the accordion is in has "glossymenu" as it's class:
Code:
<div class="glossymenu">
Whereas the normal accordion does not.
The normal accordion script also has a similar section to the mouseover code for the glossy menu, but this code just determines the submenu items:
Code:
<style type="text/css">
.arrowlistmenu{
width: 180px; /*width of accordion menu*/
}
.arrowlistmenu .menuheader{ /*CSS class for menu headers in general (expanding or not!)*/
font: bold 14px Arial;
color: white;
background: black url(titlebar.png) repeat-x center left;
margin-bottom: 10px; /*bottom spacing between header and rest of content*/
text-transform: uppercase;
padding: 4px 0 4px 10px; /*header text is indented 10px*/
cursor: hand;
cursor: pointer;
}
...
What I tried to do was add a section to the header code and add a div tag around the accordion.
Code:
<style type="text/css">
.arrowlistmenu{
width: 180px; /*width of accordion menu*/
}
.arrowlistmenu .menuheader{ /*CSS class for menu headers in general (expanding or not!)*/
font: bold 14px Arial;
color: white;
background: black url(titlebar.png) repeat-x center left;
margin-bottom: 10px; /*bottom spacing between header and rest of content*/
text-transform: uppercase;
padding: 4px 0 4px 10px; /*header text is indented 10px*/
cursor: hand;
cursor: pointer;
}
.ddaccordion a.menuitem:hover{
background-image: url(glossyback2.gif);
}
...
Code:
<div class="ddaccordion">
Evidently this doesn't work.
Any ideas?
Bookmarks