Quick Nav:  Online Store   |   Login | Register

Admin and Host acting strange in IE

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
conjunct
<20 Posts
Posts:19


04/03/2007 2:24 AM  
Hey John,

Another Issue here. The navmenu is installed and styled, everything works in FF and Opera but IE is giving some problems. I use the Horizontal Hover Menu. I excluded the Admin and Host tabs.

< Snapsis:NavMenu id="nav" DisplayIcon="False" Level="0-99" ExcludeTabs="Admin,Host" Type="Hover" runat="server" />

I didn't set a separate ID for the Admin and Host tabs since they appear anyway in my menu so the concept of excluding them is lost on me actually, if you could explain to me why they appear anyway instead of having them to have a separate ID? they have the same style of the rest of the menu by the way.

But that's not a real problem. The problem is, the Admin and Host items are not being displayed correctly. All submenu items hover beneath the rootmenu items, which they're supposed to. But the Admin and Host items are hovering slightly to the right and somewhat down of the items.

I'll include a screenshot so you can see what I mean. I haven't got a clue as how to fix this problem so I hope you can help me.

Greetings





conjunct
<20 Posts
Posts:19


04/12/2007 1:25 AM  
Hey John,

I've got no idea what solved it but suddenly it worked allright.
John Mitchell
Posts:3249


04/12/2007 7:35 AM  
That's strange. They should be excluded if they are specified as ExcludedTabs.

I'll see if I can recreate that.

I'm glad you got the other working, it may have just been some cached CSS.
conjunct
<20 Posts
Posts:19


04/16/2007 7:53 AM  

Very strange indeed.

I can't seem to understand how the ExcludeTabs works. I hope you could clarify some things:

If I have a Hover menu, lvl 0-99, ExcludedTabs="Admin, Host" , or the same without the ExcludedTabs. In both the Admin panel DOES show up with the DisabledTab class on it. Somehow it works with my old skin, but with my new one I can't get it to work together with a tab style menu.

So in my tab menu I tried adding it as a tabs style. The menu shows up in my 'main' menu DIV with the rest of the items. Excluded or not, Included or not. Also with the .DisabledTab class, which is not very handy, if I want to use it as a Tabs style because I can't click on it. ( I know Selectlist is more convenient, I'll come to that in a moment) The admin menu is rendered as text instead of a link, what should mean that it is somehow excluded = not clickable = DisabledTab. And this happens every time, even if I remove the ExcludedTabs line from my HTML.

I tried Selectlist as well for the admin menu but it doesn't change a thing really.

The HTML for the piece where my menu is located:

<divid="menu_container"><divid="menu"><divid="menu_inside"><Snapsis:NavMenuid="navparent"DisplayIcon="False"Level="0-0"Type="Tabs"ExcludeTabs="Host,Admin"runat="server"/></div></div></div><divid="menu_under"><divid="childcontainer"><Snapsis:NavMenuid="navchild"DisplayIcon="False"Level="1-3"Type="Tabs"Show="WithActiveParent"runat="server"/><Snapsis:NavMenuid="navadmin"DisplayIcon="False"Level="0-0"IncludeTabs="Host,Admin"Type="Tabs"runat="server"/></div></div>
And the CSS for the Navmenu:


#navparent, #navparent ul{
margin:0;
padding:0;
list-style:none;
display:inline;
}

#navparent li{
float:left;
margin:0;
display: inline;
padding:0;
}

#navparent li a{
font-family:Tahoma,Verdana,Helvetica,Sans-serif;
font-size:8pt;
display:block;
line-height:22px;
text-decoration:none;
color:#FFF;
}

#childcontainer{
height:25px;
width:847px;
padding-left:135px;
background:#E2D3A9;
}

#navchild, #navchild ul{
clear:both;
margin:0;
padding:0;
list-style:none;
display:inline;
}

#navchild li{
float:left;
margin:0;
display:inline;
padding:0;
}

#navchild li a{
font-family:Tahoma,Verdana,Helvetica,Sans-serif;
font-size:8pt;
display:block;
line-height:25px;
text-decoration:none;
color:#808080;
}

#navadmin, #navadmin ul{
clear:both;
margin:0;
padding:0;
list-style:none;
display:inline;
}

#navadmin li{
float:left;
margin:0;
display:inline;
padding:0;
}

#navadmin li a{
font-family:Tahoma,Verdana,Helvetica,Sans-serif;
font-size:8pt;
display:block;
line-height:22px;
text-decoration:none;
color:#FFF;
}

.DisabledTab{
font-family:Tahoma,Verdana,Helvetica,Sans-serif;
font-size:8pt;
display:block;
line-height:22px;
text-decoration:none;
color:#FFF;
}

.DisabledTab li{
float:left;
margin:0;
display:inline;
padding:5px;
}

.DisabledTab li a{
font-family:Tahoma,Verdana,Helvetica,Sans-serif;
font-size:8pt;
display:block;
line-height:22px;
text-decoration:none;
color:#FFF;
}

I know there is probably a load of code that's not really necessary, but as far as I know nothing that could mess things up.

---

Hope you can figure this one out, it's bugging me all day.

Thanks in advance
John Mitchell
Posts:3249


04/16/2007 9:49 AM  
In DotNetNuke the Admin and Host tab root level items are disabled (not clickable). This is how it works in the default install. The unfortunate part is that you can't easily change the disabled setting through the UI. You could do it in the Database directly, but having that many sub-tabs under a root in a parent-child horizontal menu does not work out well.

You may want to also exclude the Admin, and Host from your child menu, and then use a seperate instance for the SelectList navigation on Admin & Host. In other words, you should exclude Admin,Host from both the Parent level="0-0" and the Child Level="1-3".
The TopTabsB & TopTabsRY samples have this configuration.
conjunct
<20 Posts
Posts:19


04/17/2007 1:40 AM  
And I Thought the same, which would be quite logical. Only the problem is, it keeps rendering in my parentmenu. I tried the Selectlist with both excluded and it still renders in my parentmenu and not a sign of my admin and host anywhere else.

I'll upload a copy of my skin, perhaps you can see what's the problem.

You can download it here: http://download.yousendit.com/83CE1693364D6820

ps: Admin and Host have their original names in the database so they should be reacting to the ExcludeTabs. Even changing their names doesn't change a thing, everything just renders the same...
John Mitchell
Posts:3249


04/17/2007 11:01 AM  
Ok, I was able to get the file. I'll install the skin and see what I can figure out.
John Mitchell
Posts:3249


04/19/2007 8:06 AM  
Ok, I installed the skin package, and I cannot find any reference to the Snapsis Menu. They are all using Solpart.
conjunct
<20 Posts
Posts:19


04/19/2007 9:03 AM  
I just downloaded it myself.

There is the navmenu.css file.

there is the @import url("navmenu.css"); in my vertical.css file.

And the line <%@ Register TagPrefix="Snapsis" Namespace="Snapsis.DNN.Skins" Assembly="Snapsis.DNN.NavMenu" %> above in my vertical.htm.

The only part where there is Solpart is in my XML, which is just a leftover from a previous version. And since i'm not referring to the solpart anywhere it's not used, I'm quite positive about that.

I don't know if you looked at the right files, the download location is correct. So i don't know what you mean that there is no reference to the navmenu, everything is pointing at the navmenu and the styles in the css.
John Mitchell
Posts:3249


04/19/2007 10:18 AM  
ok, i see what happened. I just went and downloaded it again and now I see that I had another skin from you called conjunct website in my temp folder, which is the one I was looking at.
This one is called horizontal tab.

I don't know how I got the conjunct one, maybe from a previous issue or e-mail.

I'll check this one out right away.
John Mitchell
Posts:3249


04/19/2007 10:34 AM  
This is working as expected on my latest version of the navmenu. Maybe you have a version with a bug.
Please send me an e-mail and I'll send you the latest.

I did notice that the id="navadmin" type="SelectList" only has the root level items in it. You probably want to change that to be level="0-1"
conjunct
<20 Posts
Posts:19


04/20/2007 3:42 AM  
Emailed you :)

Jeah I had another issue so I expected you to have my old one. I'm testing everything on this skin actually.

I'm really glad you got it working but the strange thing is, you sent me Version 2.0.6 PA. Which is installed according to my colleagues. Maybe something went wrong, I don't know. Hope your (newer?) version corrects this. So at your place it has 2 instances of tabs, a root and a childmenu below and a separate dropdown list for the admin/host next to the child menu items?

And you're right, it's supposed to be level="0-1" instead of "0-0".

Hope to hear from you soon :)
John Mitchell
Posts:3249


04/20/2007 7:08 AM  
I just e-mailed it to you, but if you already have version 2.0.6 then you have the latest.

Yes, I have two instances, with a seperate Admin/host select list.

If you want, you can send me the link to your site, and I'll take a look there. Maybe it is something with the actual names of the tabs that is throwing it off.
conjunct
<20 Posts
Posts:19


04/27/2007 4:23 AM  
Allright, finally fixed.

The problem was a Dutch Language Pack, Once I set the English one back it worked like it should.

Thanks a lot for all your support!
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 > Admin and Host acting strange in IE



ActiveForums 3.7
Powered by: Snapsis Software