Quick Nav:  Online Store   |   Login | Register

Incorrect Rendering - Extra /li's

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
DavidWSnow
<250Posts
Posts:213


11/29/2007 11:12 AM  

When using

Snapsis:NavMenu ID="navParent" Level="0-3" CacheTabs="False" NavType="Template"
                TemplateFile="ActiveResetHover.Parent.template.txt" ExcludeTabs="^Admin$,^Host$"
                runat="server"

Snapsis:NavMenu ID="navChild" Level="1-4" CacheTabs="False" NavType="Template" TemplateFile="ActiveResetHover.Child.template.txt"
                ExcludeTabs="Admin,Host" runat="server"

 

on a site where some pages have children and others don't I get extra ending /li's after the chlild menus.  While the menu works ok the html doesn't  validate correctly. If you want to see the page it will like be visible at dsnow2.dnsalias.com/asi3 while I am working on the skin.

 

I also want to do a simple deviation of this skin with only a single level of tabs for very simple sites. However, I would also like to have some way to show children if I create one accidently without taking up 3/8" of vertical real estate. Is there an easy way to make the children be a drop down? 

 

Regards,

/DaveS

John Mitchell
Posts:3478


11/29/2007 2:19 PM  
Hi Dave,

I'm moving this issue to the top of my priority list. Thanks for making the problem page available.

I think if you use the Horizontal Hover example, it'll take care of your second requirement. The Flyout on hover will display above other information on the page even if you don't have a specific place for the items to show.
DavidWSnow
<250Posts
Posts:213


11/30/2007 9:42 AM  
You also might want to make your future skins to use "^Admin$,^Host$" rather than "Admin,Host" (as my skins due now) or make those comparisons not as regex's. I have been burned by having both Admin and Host as part of a page name and having the main menu lose the page while the dropdown admin menu picked it up.

Thanks for your quick response --- DaveS

/DaveS
John Mitchell
Posts:3478


11/30/2007 9:45 AM  
That's a good idea. I like using Regex because it gives you a lot more power, but adding the start and end is exactly how the default should work.
John Mitchell
Posts:3478


11/30/2007 10:44 AM  

I'm not able to recreate this locally, but looking more closely at your menu setup I see that you have Level="0-3" on the navParent.  That parent template has only been setup for Level 0 (root).

Try changing the level="0-0" on the parent settings.

Snapsis:NavMenu ID="navParent" Level="0-0" CacheTabs="False" NavType="Template"
                TemplateFile="ActiveResetHover.Parent.template.txt" ExcludeTabs="^Admin$,^Host$"
                runat="server"

DavidWSnow
<250Posts
Posts:213


11/30/2007 12:25 PM  
That appears to have fix MY problem. --- Dave
DavidWSnow
<250Posts
Posts:213


11/30/2007 2:57 PM  

What I was actually looking for was a menu that looked like the silver tab hover but had flyouts, drop-downs or some other method that didn't take vertical space for levels 1-3.  Does any version of your memu do that?

 

/DaveS

John Mitchell
Posts:3478


11/30/2007 3:47 PM  
The HorizontalHover sample does flyouts like that, although it doesn't have the tabs.

You'll just need to adjust the HorizontalHover example to use the Silver tabs graphics.
DavidWSnow
<250Posts
Posts:213


12/15/2007 4:29 PM  

I just got back to working on the xhtml skin. I made the parent levels = 0-0  and but when I set the child level to 1-4 as you do in your silver hover skin. I get a messed up list. It still looks ok but a "ul is missing it closing tag" is the complaint that I get from W3C abd VWD Extress. 

I have set it up show you can see the page on the developement system

All worked well until I re-orginized some of my test pages and had the "blank page" down at level 3, I now have the extra elements in the menu's list.

/DaveS

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 > Incorrect Rendering - Extra /li's



ActiveForums 3.7
Powered by: Snapsis Software