Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...NAV menu not working properly with skinNAV menu not working properly with skin
Previous
 
Next
New Post
12/18/2007 10:34 AM
 

I got this strange problem with a skin I made.

When I apply the skin the main menu shows up fine but the submenudropdowns aren't workin. When I hover my mouse over a menu-item the submenu-items aren't showing.

Any ideas on what might be causing the problem? (I am using DNN 4.7) Thanks in advance!

Here are some code snippets:
The menu in my skin:

<div id="mainmenu">
            <div id="mainmenucontent">[NAV]</div>
</div>

The menu in my skin.xml file:

<Object>
    <Token>[NAV]</Token>
    <Settings>
      <Setting>
        <Name>ProviderName</Name>
        <Value>DNNMenuNavigationProvider</Value>
      </Setting>
      <Setting>
        <Name>CSSControl</Name>
        <Value>main_dnnmenu_bar</Value>
      </Setting>
      <Setting>
        <Name>CSSContainerRoot</Name>
        <Value>main_dnnmenu_container</Value>
      </Setting>
      <Setting>
        <Name>CSSNode</Name>
        <Value>main_dnnmenu_item</Value>
      </Setting>
      <Setting>
        <Name>CSSNodeRoot</Name>
        <Value>main_dnnmenu_rootitem</Value>
      </Setting>
      <Setting>
        <Name>CSSIcon</Name>
        <Value>main_dnnmenu_icon</Value>
      </Setting>
      <Setting>
        <Name>CSSContainerSub</Name>
        <Value>main_dnnmenu_submenu</Value>
      </Setting>
      <Setting>
        <Name>CSSBreak</Name>
        <Value>main_dnnmenu_break</Value>
      </Setting>
      <Setting>
        <Name>CSSNodeHover</Name>
        <Value>main_dnnmenu_itemhover</Value>
      </Setting>
      <Setting>
        <Name>NodeLeftHTMLBreadCrumbRoot</Name>
        <Value><![CDATA[<img alt="*" BORDER="0" src="breadcrumb.gif"/>]]></Value>
      </Setting>
<!--  Enables Populate On Demand - Will only work on versions AFTER 3.2.4
      <Setting>
        <Name>PopulateNodesFromClient</Name>
        <Value>True</Value>
      </Setting>
      <Setting>
        <Name>ExpandDepth</Name>
        <Value>1</Value>
      </Setting>
-->
    </Settings>
  </Object>

The css code:
#mainmenu{
    width:932px;
    height:40px;
    background: url(images/menubalk_tile.jpg);
    background-repeat: repeat-x;
    text-align:left;
    left:26px;
    top:268px;
    position:absolute;
    display:block;
}

.mainmenucontent{
    margin-top:17px;
    margin-left:20px;
    font-weight:bold;
    color:#666666;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:13px;
}

.main_dnnmenu_bar {
    cursor: pointer;
    cursor: hand;
    height:16px;
    background-color: Transparent;
}
.main_dnnmenu_container {
    background-color: transparent;
}
.main_dnnmenu_item td { /*TD if menu option for using tables is on*/
    cursor: pointer;
    cursor: hand;
    background-color: Transparent;
        white-space: nowrap;  /*Word wrapping menu item now optional*/
        padding: 1px 3px 3px 1px;   
       
    margin-top:17px;
    margin-left:20px;
    font-weight:bold;
    color:#666666;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:13px;
}
.main_dnnmenu_rootitem  { /*TD if menu option for using tables is on*/
    cursor: pointer;
    cursor: hand;
    background-color: Transparent;
    white-space: nowrap;  /*Word wrapping menu item now optional*/       
    padding: 0px 12px 0px 5px;   /*explicitly set padding for root menu items*/
   
    margin-top:17px;
    margin-left:20px;
    font-weight:bold;
    color:#EEEEEE;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:13px;
}
.main_dnnmenu_icon {
    cursor: pointer;
    cursor: hand;
    text-align: center;
    width: 15px;
    height: 100%;
}
.main_dnnmenu_submenu {
    background-color: #cad5ea; 
    z-index: 1000;
    cursor: pointer;
    cursor: hand;
    filter:progid:DXImageTransform.Microsoft.Shadow(color='#696969', Direction=135, Strength=3);
    padding: 1px 1px 1px 1px;   /*explicitly set padding for sub-menus */
}
.main_dnnmenu_break {
    height: 1px;
    font-size: 1px;
}
.main_dnnmenu_itemhover { 
    color:#ffe14b;
    font-weight:bold;
}

.main_dnnmenu_itemhover td { 
    color:#ffe14b;
    font-weight:bold;
}

 

 
New Post
12/20/2007 4:34 AM
 

Anyone with an idea? Can't see the problem here.

 
New Post
12/20/2007 7:32 AM
 

Have you got this visible on a site somewhere? That would make it easier me for to check.

Rob

 
New Post
12/20/2007 9:19 AM
 

No I have it on a local machine. I could provide you with a screen shot but don't think that will help any. When I move my mouse over the admin or host menu no submenu-items get shown on pages with my skin, pages without my skin work perfectly.

 
New Post
12/20/2007 9:23 AM
 

I could mail you my skin if you think you can find the problem. ( if you would like to check it out mail me at sharpsignal(at)gmail(dot)com so I have your email to send it to you)

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...NAV menu not working properly with skinNAV menu not working properly with skin


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out