Quick Nav:  Online Store   |   Login | Register

issues with template files

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
armand
<20 Posts
Posts:3


06/03/2007 6:56 AM  
Hey John

I am having iisues with the template, im trying to make a clean unordered list structure to use as base for a new menu based on mootools so this is what i had

[NavMenu-Container[
    ]]
        [Level0-Container[]]
            [Level0-Item[
  • ]]
                [Level0-Anchor[ {Tab.Name} ]]
           
        [Level1-Container[
      ]]
              [Level1-Item[
    • ]]
                  [Level1-Anchor[ {Tab.Name} ]]
                      [Level2-Container[
        ]]
                            [Level2-Item[
      • ]]
                                [Level2-Anchor[ {Tab.Name} ]]
                                [Level3-Container[
          ]]
                                      [Level3-Item[
        • ]]
                                          [Level3-Anchor[ {Tab.Name} ]]
                                          [Level4-Container[
            ]]
                                                [Level4-Item[
          • ]]
                                                    [Level4-Anchor[ {Tab.Name} ]]
                                                [/Level4-Item[
          • ]]
                                            [/Level4-Container[
          ]]
                                      [/Level3-Item[
        • ]]
                                  [/Level3-Container[
        ]]
                            [/Level2-Item[
      • ]]
                        [/Level2-Container[
      ]]
              [/Level1-Item[
    • ]]
          [/Level1-Container[
    ]]
        [/Level0-Item[
  • ]]
        [/Level0-Container[]]
    [/NavMenu-Container[
]]

as you can see from above i start and end with and ul tag and the root item doent have containers because they are just li tags

so iin a normal 3 level struture i would end up with

ul
li
li
li
    ul
       li
       /li
    /ul
/li
/ul
but instead i dont get a correct html output sometimes i have 2 closing li tags next to eachother or 2 closing ul tags next to echother

Coul you take a look because in theory this is the corect html starture one main ul tag, than li tags for the root and other li structures in that li tags for the other levels.


thanks

Armand
armand
<20 Posts
Posts:3


06/03/2007 7:07 AM  
if im doing something worng can you let me know how to setup the template, since the navmenu does output a valid structure but now with this template and i cannot see why

Armand
John Mitchell
Posts:3196


06/12/2007 6:41 PM  
Hi Armand,
Thanks for working with me over the last few days to iron out those last bugs.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >CSS NavMenu > issues with template files



ActiveForums 3.7
Powered by: Snapsis Software