Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    May 2004
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tree ? Dom Xml Javascript ?

    Sry to bother but i'm a newibe to this language but my boss wan me to do a treelist menu like the window explorer using Javascript and access a Xml file using Dom. I understand how the Dom work and the Xml but i lack the way to use the Javascript to access the XML and do a table that when the user click on the node it will appear or disappear it children node. I got a few script that work really well but i'm dun understand it.
    So my qustion is: how to build a tree from xml using Dom ? can someone point to me a link to a tutorial or something? Try a few tutorial but all those are abit sample and didnt tell me how to read all the childNode and children and text from the Xml cause their one is hardcoded one.
    And other is how to appear and disappear a node? i cant add a method in like onClick to the tag after the Javascript create the table
    I know i'm a newbi but i really need help. Nw i left with 1 week time to finish!

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    http://www.treemenu.net/

    Why re-invent the wheel?

    Sadiq.

  • #3
    New Coder
    Join Date
    May 2004
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    thanks

    omg!! U actually need to pay to do a Dhtml?

    Anyway i found a bk on the tree menu, lucky i'm a library type of guy

    Thanks for all ur help

    oh ya i just read the rules so i'm really sry that i have bother, din know tat this is not a newbie friendly zone.

    Cheers and peace
    Guowei

  • #4
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Huh?

    That link was a free download. And who said this forum was not newbie friendly? We all started as newbies! I don't see how you got that from my response either..

    Anyway, glad that you got your issue sorted out.

    Sadiq.


  •  

    Posting Permissions

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