Results 1 to 5 of 5

Thread: Simple Tree Menu - One more question

  1. #1
    Join Date
    Jun 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Simple Tree Menu - One more question

    1) Script Title: Simple Tree Menu

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

    3) Describe problem: Thanking Veronica so far for all her help, here's one more.

    In the picture attached, I'm attempting to cram the menu into tables which expand & contract with the menu. Now, while it works wonderfully, the backgrounds used seem to get hidden by the menu items.

    Any ideas here?

    If anyone wants a copy of this thing I"m working on, you're welcome to it. Just let me know.
    Last edited by Kelly_Wood; 06-08-2007 at 04:21 PM. Reason: forgot pic.

  2. #2
    Join Date
    Jun 2007
    Location
    England
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Check any CSS code or something for a 'background' or 'background-color' attribute in the class you are using for the menu items. If there's none, try setting it to transparent.

  3. #3
    Join Date
    Jun 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Good, thanks

    We're good. Thanks a bunch you guys. You're awesome.



    http://www.retroglassics.com/

    Now, having that part done and the menu code inside an INC file for one stop changing site wide, I"m ready to build up some pages and get this off the ground.

    Zip file attached for anyone that wants to use it.

    Thanks again.
    Last edited by Kelly_Wood; 06-08-2007 at 08:34 PM. Reason: adding zip file for anyone that wants to use it.

  4. #4
    Join Date
    Jun 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Except

    Except Firefox don't handle it right. Clicking expand all seems to have a negative effect and submenus do the same thing. Wonder why. Hmm.

    After further investigaion, the menus that have subs with subs don't work. The ones that have only one set of items with no subs work. Odd.
    Last edited by Kelly_Wood; 06-08-2007 at 09:38 PM. Reason: Because of more information.

  5. #5
    Join Date
    Jun 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I got it

    Seems that in my coding, I inadvertently added
    Code:
    </li>
    at the end of the items that were main folders and sub folders. IE figured out what to do with them but FF & NS didn't figure it out. In this example:

    Code:
    <ul id="treemenu1" class="treeview">
    
    <li><b>MAIN FOLDER 1</b>
    	<ul>
    	<li>SUB FOLDER 1
    		<ul>
    		<li><a href="">Item 1 - Sub folder 1</a></li>
    		<li><a href="">Item 2 - Sub folder 1</a></li>
    		<li><a href="">Item 3 - Sub folder 1</a></li>
    		<li><a href="">Item 4 - Sub folder 1</a></li>
    		</ul>
    	<li>SUB FOLDER 2
    		<ul>
    		<li><a href="">Item 1 - Sub folder 2</a></li>
    		<li><a href="">Item 2 - Sub folder 2</a></li>
    		</ul>
    	</ul>
    </li>
    
    </ul>
    If
    Code:
    </li>
    was used, at the end of Main folder 1, sub folder 1 and sub folder 2, it'll freak out NS and FF.

    Fixed. Cool!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •