Quick Nav:  Online Store   |   Login | Register

Unclosed LIs

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
saf
<20 Posts
Posts:12


01/28/2008 8:45 AM  

My menu is only closing the first tab's li. After that all LI's are unclosed here is my code

<Snapsis:NavMenuid="TopTabs"Level="0-0"runat="server"NavType="Template"
ExcludeTabs="^Admin$,^Host$"TemplateFile="top.template.txt"/>
 

Here is my template code

[NavMenu-Container[ <ul> ]]
        [Level0-Item[ <liiif({Tab.IsActive}='True', class="active") > ]]
            [Level0-Anchor[ <atarget=_blankhref="{Tab.Url}"><span>{Tab.Name}span>a> ]]
        [/Level0-Item[ li> ]]
[/NavMenu-Container[ ul> ]]

This is my html output.

<ul><liclass="active"><atarget=_blankhref="#"><span>Tab1span>a>li><li><atarget=_blankhref="#"><span>Tab2span>a><li><atarget=_blankhref="#"><span>Tab3span>a><li><atarget=_blankhref="#"><span>Tab4span>a>ul>

Please notice that only first LI is closing rest all LIs are unclosed.

John Mitchell
Posts:3249


01/28/2008 9:56 AM  

It looks like I have a bug when a single level is declared.

As a work-around until I get it fixed you can define your template so that the closing item is included with the anchor.



NavMenu-Container[ <ul> ]]
        [Level0-Item[ <liiif({Tab.IsActive}='True', class="active") > ]]
            [Level0-Anchor[ <atarget=_blankhref="{Tab.Url}"><span>{Tab.Name}</span></a></li>]]
        [/Level0-Item[ </li> ]]
[/NavMenu-Container[ </ul> ]]

saf
<20 Posts
Posts:12


01/29/2008 1:44 AM  
Thanx for the work-around.

I will have to keep closing item tag blank otherwise the first LI will be closed twice.
John Mitchell
Posts:3249


01/29/2008 7:14 AM  
Oh you're right. That first one does work so you would get two there.

I sent you a new DLL yesterday that fixes this problem.
If you didn't get it, please reply directly to the notification from this post and I'll send it to you again.
saf
<20 Posts
Posts:12


02/09/2008 8:55 AM  
Hi
I havent got the DLL plzz email it to me again.
John Mitchell
Posts:3249


02/09/2008 10:51 AM  
Please reply to the notification e-mail directly so that I will be replying to an e-mail you sent.
Tthat usually helps with spam blocking and also allows me to make sure that I am sending it to the right place.
MichaelM
<20 Posts
Posts:2


03/19/2008 6:31 AM  

I have the same problem as described above. The latest update on snowcovered did not fix this.

There is another problem when suing this menu type :

<

Snapsis:NavMenuid="NavList"Level="0-99"Recurse="true"Type="Hover"IncludeTabs="QuickLinks"runat="server"ShowType="ChildrenOnly"/>

At the end of the menu the li /ul are closed twice like this : .

Wich is fine for ie that just ignores it but firefox adds an item and the pages therefore dont look identical in the 2 browsers.

I sent you a personal message about 2 weeks ago that you havent replied to. It getting urgent for me now, as im closing in on a release date.

John Mitchell
Posts:3249


03/19/2008 7:51 AM  

Hi Michael,

Please reply to the notification e-mail directly so that I will be replying to an e-mail you sent.
That usually helps with spam blocking and also allows me to make sure that I am sending it to the right place.

You can also click on my username and send me an e-mail that way.

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software