Quick Nav:  Online Store   |   Login | Register

Vertical, bulleted, indented list menu

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
Laurence Neville
<100 Posts
Posts:73


07/28/2008 6:42 PM  

I am creating a vertical menu that looks very much like a simple bulleted list, e.g.

  • Home
  • Page 1
    • Child 1
    • Child 2
  • Page 2
  • Page 3

As with the bullet list above, child pages should be indented under their parent, and both the bullet and the link should be indented.

My problem is that I can only seem to apply the indentation to the link, not the bullet, i.e. my menu looks like this:

 

  • Home
  • Page 1
  •     Child 1
  •     Child 2
  • Page 2
  • Page 3

     

    The module seems to render all menu items as LIs at the same level within the UL. If child pages were rendered as a "sub-list" of the main list it would be easier to deal with. Can I make the module render the HTML this way using a template? Or is there some way to indent the bullets using CSS and without using a template?

  • John Mitchell
    Posts:3478


    07/31/2008 10:35 AM  
    You're right, the standard TabList vertical menu is rendered this way. It is because it works better that way for the sliding-doors technique.

    Yes, using a template you can render all the children with their own UL inside the parent LI.
    You could use your same skin, and just change the NavType="Template" and TemplateFile="Suckerfish.template.txt", then copy the template from the suckerfish example.

    You'll have to play around with the css a little, but all items should be visible to start if you have the css from a LeftNav example.
    Laurence Neville
    <100 Posts
    Posts:73


    08/06/2008 3:56 PM  
    Hi, back again.
    I can't find the suckerfish template in my package. I bought 3.1.0 through Snowcovered last year. Is this template included in later versions, and if so can you send it to me? Also, will it work in 3.1.0?
    Thx
    John Mitchell
    Posts:3478


    08/06/2008 4:03 PM  

    I have attached it to this post.

    Yes, it'll work, but you should get the latest version.

    It should be in the patches and hotfixes section on Snowcovered.

     


    Attachment: 18634252971.zip

    Laurence Neville
    <100 Posts
    Posts:73


    08/06/2008 4:40 PM  
    Thanks v. much. I sent you a question about the latest version via the "send email" link in your forum profile.
    Laurence Neville
    <100 Posts
    Posts:73


    08/09/2008 3:24 PM  
    This template feature is great! I got exactly the menu format and functionality I wanted! Great module!
    John Mitchell
    Posts:3478


    08/09/2008 4:06 PM  
    Excellent, I'm glad you like the templates. I was trying to make something that would not only allow complete customizations, but also allow you to build your own unique menus.

    Thanks again for the positive feedback.
    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 > Vertical, bulleted, indented list menu



    ActiveForums 3.7
    Powered by: Snapsis Software