Results 1 to 4 of 4

Thread: Simple Tree Menu Errors

  1. #1
    Join Date
    Sep 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Simple Tree Menu Errors

    1) Script Title: Simple Tree Menu

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

    3) Describe problem: The code causes a javascript error to appear at the bottom of the page. Specifically it say says that
    var ultags=document.getElementById(treeid).getElementsByTagName("ul")
    is not defined

    Thanks for the help with this. I submitted once before but did not receive a response.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Do you get this error in the demo page on DD as well? What browser are you using? This script was tested in IE6 (win), Firefox 1.x (win) and Opera 8 without problems.

  3. #3
    Join Date
    Sep 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I did not see the error in the example and I am using Internet Explorer. Do you know why that specific line is causing the problem?

  4. #4
    Join Date
    Feb 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Simple tree menu not working on firefox

    Please help me my simple tree menu is not working on firefox. By default in firefox my tree is opening in expanded mode. whereas in IE its working fine.
    Please find the code attached. All the functinality is working fine in IE. Like after Contracting the tree when i open node by node in IE it works as expected but in firefox when i try the same only first child opens up.
    Please help me its very urgent.

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
  •