Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Henrik Hammarström 58 posts 54 karma points
    Mar 06, 2009 @ 13:27
    Henrik Hammarström
    0

    Get child parent

    Hi


    This code loops every third level items

    how can I just loop the item that belongs to its parents ?


    [code]





    [/code]

    /B

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Mar 06, 2009 @ 14:06
    Dirk De Grave
    0

    Hi,

    [quote]how can I just loop the item that belongs to its parents ?[/quote]
    Not sure what's meant by that? Can you explain bit more, maybe outline the tree structure and show what nodes should be

    [code]

  • Henrik Hammarström 58 posts 54 karma points
    Mar 06, 2009 @ 14:19
    Henrik Hammarström
    0

    Hi

    Ihave this

    startpage
    -Lev1
    -Lev1
    --Lev20
    ---Lev3
    1
    --Lev21
    ---Lev3
    2




    When I click --Lev20 I want just the nodes under that node
    Now I get all nodes that are at that level ...
    I get

    --Lev2
    0
    ---Lev31
    ---Lev3
    2
    --Lev21
    ---Lev3
    1
    ---Lev3_2
    How do I loop that





    /H[code]


    [/code]

  • Petr Snobelt 923 posts 1535 karma points
    Mar 06, 2009 @ 15:37
    Petr Snobelt
    0

    Why you don't use simple for childs?

Please Sign in or register to post replies

Write your reply to:

Draft