PDA

View Full Version : Please Help with Simple Tree Menu



DThomas
07-08-2008, 05:29 PM
1) Script Title:
Simple Tree Menu

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

3) Describe problem:
The menu works perfectly in IE7, but is not working at all in firefox. We are still working in the test phase so I can't send a link with what occurs because it's on our test server.

Nile
07-09-2008, 12:59 AM
You'll need to send us a link if you want us to fix it. Sorry.

DThomas
07-10-2008, 12:16 PM
Sorry here's the link.

http://webapp.psc.state.md.us/intranet/mpsc_temp1.cfm

Nile
07-11-2008, 01:31 PM
Your css was pretty darn messy. Try this for your css:


.treeview ul{ /*CSS for Simple Tree Menu*/
background: #594b47;
margin: 0;
padding-left: 15px;
}

.treeview li{ /*Style for LI elements in general (excludes an LI that contains sub lists)*/
background: url(images/line.gif) no-repeat left center;
list-style-type: none;
padding-left: 15px;
margin-bottom: 3px;
}

.treeview li.submenu{ /* Style for LI that contains sub lists (other ULs). */
left: 10px;
z-index: -1;
background: url(images/maroon_plus.jpg) no-repeat left 1px;
font-size: 100%;
font-weight:bold;

}
.treeview1 li.submenu{ /* Style for LI that contains sub lists (other ULs). */
left: 10px;
cursor: hand !important;
cursor: pointer !important;
font-weight:bold;

}

.treeview li.submenu ul{ /*Style for ULs that are children of LIs (submenu) */
background-color: #ffffee;
display: none; /*Hide them by default. Don't delete. */
}

.treeview .submenu ul li{ /*Style for LIs of ULs that are children of LIs (submenu) */
cursor: default;
}

DThomas
07-11-2008, 02:10 PM
Thanks, I'l give it a shot.

Sorry about the CSS being a mess.

DThomas
07-23-2008, 07:19 PM
Again I wanted to thank you for the help. I was finally able to get to test this out (as now they have pushed the launch date back even further) so it has dropped off of my high priority list.