PDA

View Full Version : location of statusicon on accordion menu



JeffSinNHUSA
05-25-2011, 04:19 PM
1) Script Title: Glossy Accordion Menu

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex17/ddaccordionmenu-glossy.htm

3) Describe problem: I am trying to implement the Glossy Accordion Menu on our website. Everything is working fine except I can't seem to get the statusicon to appear before my submenuheader link. I thought it was going to be as easy as setting the togglehtml to "prefix" but no luck. Am I missing something? I made sure I have the latest javascript file.

4) Example: http://www.l-com.com/testnav.htm

ddadmin
05-25-2011, 11:14 PM
The position of the icons is controlled simply in the CSS, specifically:


.glossymenu a.menuitem .statusicon{ /*CSS for icon image that gets dynamically added to headers*/
position: absolute;
top: 5px;
right: 5px;
border: none;
}

To get it to show up on the left side, you'd change right:5px to left:5px for example.