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, ...Submenu is driving me crazy!Submenu is driving me crazy!
Previous
 
Next
New Post
9/28/2007 7:51 AM
 

He all,

Maybe some skinner out here can point me out to something I probably have overlooked?

I'm trying to get a snapsis menu working....Got it working in Firefox but it doesnt do what I want in IE.

Its like this:

  • level0
    • level1
      • level2
      • level2
      • level2
    • level1
    • level1
    • level1
    • level1
  • level0
  • level0
  • level0
  • level0

Now, the level1 <ul> must overlap the rest of the level0 <ul>'s mut in IE it doesnt work...probably a z-index problem.

Here's whats in the skin:

<table width="254" cellpadding="0" cellspacing="0">
            <tr>
             <td><Snapsis:NavMenu id="nav" DisplayIcon="True" Level="0-2" Type="Hover" ExcludeTabs="Admin,Host" runat="server" />
          </td>
         </tr>
            <tr>
             <td><p>&nbsp;</p>
              <p>&nbsp;</p>
              <p><img src="<%=SkinPath%>picture.gif" alt="" border="0" />
                            </p></td>
            </tr>
           </table>

Here's the css

 Body {
 font-family: Arial, Helvetica;
    font-size:  12px;
    font-weight: normal;
 height:100%;
 behavior:url("DesktopModules/Snapsis/NavMenu/csshover.htc");
}
html{height:100%;}
.pagemaster {
 width: 100%;
 height: 100%; 
 background-color: #FFFFFF;
}
.skinmaster {
 height: 100%;
 background-color: #FFFFFF;
 border-right: #F0F0F0 1px solid;
 border-top: #F0F0F0 1px solid;
 border-left: #F0F0F0 1px solid;
 border-bottom: #F0F0F0 1px solid;
 moz-border-radius-bottomleft: 15px;
 moz-border-radius-bottomright: 15px;
 moz-border-radius-topleft: 3px;
 moz-border-radius-topright: 3px;
}
.controlpanel {
 width: 100%;
 background-color: #dddddd;
}
.header {
 font-family: Arial, Helvetica;
    font-size:  100%;
    font-weight: bold;
    color: #FFFFFF;
 background-image: url(picture.jpg);
 background-repeat:no-repeat;
 height: 358px;
 width: 967px;
}
.leftpane {
 width: 254px;
 background-color: transparent;
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 0px;
}
.contentpane {
 width: 454px;
 background-color: transparent;
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 0px;
}
.contentpane div.content{
 margin-left: 40px;
 margin-right: 40px;
 margin-top: 25px;
}
.contentpane h1{
 margin-left: 40px;
 margin-right: 40px;
 margin-top: 25px;
}
.rightpanehome {
 width: 258px;
 background-color: transparent;
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 0px;
 min-height: 200px;
}
.rightpane {
 width: 258px;
 background-color: transparent;
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 10px;
 min-height: 200px;
}
.rechts {
 width: 259px;
 background-color: transparent;
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 0px;
 border-right-width: 1px;
 border-left-width: 1px;
 border-right-style: solid;
 border-left-style: solid;
 border-right-color: #F9BA00;
 border-left-color: #F9BA00;
}
.searchpane {
 background-color: #f9ba00;
 padding-left: 5px;
 padding-top: 5px;
 padding-bottom: 5px;
 color: #837f73;
 font-size: 11px;
 font-weight: bold;
}
.rechtertabelhome {
 width: 259px;

}
.rechtertabel {
 width: 259px;
}

/*___________________________________________________________________________________________*/
.MainMenu_MenuContainer{ background:transparent; width:100%; height:1px; }
.MainMenu_MenuBar{}
.MainMenu_MenuIcon{ display:none; }
.MainMenu_MenuArrow{ display:none; }
.MainMenu_RootMenuArrow{ display:none; }
.MainMenu_MenuBreak{ display:none; }
.MainMenu_MenuItem{
 color:#333; font-size:11px; font-weight:normal;
 padding:3px 15px 3px 10px;
 border:1px #CBCBCB solid; border-width:1px 0px;
}

 

/*__________________________________*/
.StandardButton {
   background: #aaaaaa none;
   color: #ffffff;
   font-family: Verdana, sans-serif;
   font-size: 11px;
   font-weight: normal;
}
.TreeViewMenu {
 width: 175px;
 background-color: #dddddd;
 border-right: #F0F0F0 1px solid;
 border-top: #F0F0F0 1px solid;
 border-left: #F0F0F0 1px solid;
 border-bottom: #F0F0F0 1px solid;
 moz-border-radius-bottomleft: 15px;
 moz-border-radius-bottomright: 15px;
 moz-border-radius-topleft: 3px;
 moz-border-radius-topright: 3px;
}
.TreeViewMenu_Header {

}

/* text style used for most text rendered by modules */
.Normal
{
    font-family: Arial, Helvetica;
    font-size:   12px;
    font-weight: normal;
}

/* text style used for rendered text which should appear disabled */
.NormalDisabled
{
    color: Silver;
}

/* text style used for rendered text which requires emphasis */
.NormalBold
{
    font-family: Arial, Helvetica, sans-serif;
    font-size:  12px;
    font-weight: bold
}

.Head {
   font-family: Arial, Helvetica, sans-serif;
   font-size:  18px;
   font-weight:  normal;
   color: #333333;
}
/* text style used for textboxes in the admin and edit pages, for Nav compatibility */
.NormalTextBox
{
    font-family: Arial, Helvetica, sans-serif;
    font-size:  12px;
    font-weight: normal;
 background-color: #eae8e6;
 border: 1px  ridge #666666;
}

.NormalRed
{
    font-family: Arial, Helvetica, sans-serif;
    font-size:  12px;
    font-weight: bold;
    color: #ff0000
}

.NormalBold
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
}
.BreadCrumb {
    font-weight: normal;
    font-size:  11px;
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    font-weight: bold;
}

/* Login - Registreer en Privacy en Gebruikersovereenkomst SkinObjects */
A.BreadCrumb:link {
    text-decoration:    none;
    color:#FFFFFF;
    font-weight: bold;
}

A.BreadCrumb:visited  {
    text-decoration:    none;
    color:#FFFFFF;
    font-weight: bold;
}

A.BreadCrumb:active   {
    text-decoration:    none;
    color:#FFFFFF;
   font-weight: bold;
}

A.BreadCrumb:hover    {
    text-decoration:    underline;
    color:#FFFFFF;
    font-weight: bold;
}
.search {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
 color:#FFFFFF;
}
A.search:link {
    text-decoration:    none;
    color:#FFFFFF;
    font-weight: bold;
}

A.search:visited  {
    text-decoration:    none;
    color:#FFFFFF;
    font-weight: bold;
}

A.search:active   {
    text-decoration:    none;
    color:#FFFFFF;
   font-weight: bold;
}

A.search:hover    {
    text-decoration:    underline;
    color:#FFFFFF;
    font-weight: bold;
}

/*MENU*/

.TabList {
    font-size:75%;
 font-family:Arial, Helvetica, sans-serif;
 height:100px;
}
#nav{width:254px;}

#nav ul.Level0 {padding:0;margin:0;list-style:none;position:absolute;float:left;z-index:5;width:254px;}
#nav ul.Level1 {padding:0;margin:0;list-style:none;position:absolute;float:left;z-index:10;left: -999em;}
#nav ul.Level2 {padding:0;margin:0;list-style:none;position:absolute;float:left;z-index:15;left: -999em;}

#nav ul.Level0 li a{display:block;font-family: Arial, Helvetica, sans-serif;}
#nav ul.Level1 li a{display:block;font-family: Arial, Helvetica, sans-serif;}
#nav ul.Level2 li a{display:block;font-family: Arial, Helvetica, sans-serif;}

#nav .Level0 li a:hover {background-color: #6f6e6d;color:#ffffff;}
#nav .Level1 li a:hover {background-color: #f9ba00;color:#ffffff;}
#nav .Level2 li a:hover {background-color: #f9ba00;color:#ffffff;}

#nav .Level0 li {text-transform:uppercase;width:254px;height:34px;border-top-width: 2px;border-top-style: solid;border-top-color: #FFFFFF;background-color:#f9ba00;
vertical-align:middle;list-style:none;position: relative;float:left;}
#nav .Level0 li a {font-weight:bold;font-size:14px;height:34px;color:#FFFFFF;text-decoration:none;padding-top:7px;padding-left:20px;}
#nav .Level0 li.SelectedTab a{background-color: #6F6E6D;}
#nav .Level0 li.SelectedTab a:hover{background-color: #6F6E6D;}

#nav .Level1 li {text-transform:none;height:20px;width:214px;border-top-width: 1px;border-top-style: solid;border-top-color: #FFFFFF;background-color:#6f6e6d;
vertical-align:middle;list-style:none;position: relative;float:left;}
#nav .Level1 li a{font-weight:bold;font-size:12px;height:20px;color:#FFFFFF;text-decoration:none;padding-top:2px;}
#nav .Level1 li.SelectedTab a{background-color: #6F6E6D;}
#nav .Level1 li.SelectedTab a:hover{background-color: #f9ba00;}
#nav .Level1 li a:hover{background-color: #f9ba00;}
#nav .Level0 li.SelectedTab .Level1 a:hover{background-color: #f9ba00;}


#nav .Level2 li {text-transform:none;height:20px;width:214px;border-top-width: 1px;border-top-style: solid;border-top-color: #FFFFFF;background-color:#81807E;
vertical-align:middle;list-style:none;position: relative;float:left;}
#nav .Level2 li a{font-weight:bold;font-size:12px;height:20px;color:#FFFFFF;text-decoration:none;padding-top:2px;}
#nav .Level2 li.SelectedTab a{background-color: #81807E;}
#nav .Level2 li.SelectedTab a:hover{background-color: #f9ba00;}
#nav .Level2 li a:hover{background-color: #f9ba00;}
#nav .Level1 li.SelectedTab .Level2 a:hover{background-color: #f9ba00;}
#nav .Level1 li.SelectedTab .Level2 li.SelectedTab a{background-color: #81807E;color:#000000;}
#nav .Level1 li.SelectedTab .Level2 a{background-color: #81807E;color:#ffffff;}

#nav ul.level0 li:hover ul.level1,
#nav ul.level0 li.iehover ul.level1{left: 0;top:34px;display: block;}
#nav ul.level1 li:hover ul.level2,
#nav ul.level1 li.iehover ul.level2{left: 214px;top:-1px;display: block;}


/*END MENU*/

Can anyone help?

Thanks,
Keston

 
New Post
9/28/2007 12:48 PM
 

This is something you should post on the snapsis forums. I had "sort of" the same experience.

First, and most important submenu items fit exactly or overlap a bit so that :hover does not loose focus. Second I needed the following to make it work in IE6/7 (standards mode), I really don't know why:

#nav li li {background: url(images/spacer.gif) no-repeat scroll top left;}

I didn't yet spend time to investigate further why a background is needed, my hypothesis is that it has something to do with the javascript injaction of the .iehover class, But after 5 hours of poking around in the dark I was happy to find a working menu.

Good luck with yours,

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
10/4/2007 12:19 PM
 

Peter,

Just to let you know that it finally works, here's the changes I made in the css:

 

 Body {
 font-family: Arial, Helvetica;
    font-size:  12px;
    font-weight: normal;
 height:100%;
 behavior:url("DesktopModules/Snapsis/NavMenu/csshover.htc");
}
html{height:100%;}
.pagemaster {
 width: 100%;
 height: 100%; 
 background-color: #FFFFFF;
}
.skinmaster {
 height: 100%;
 background-color: #FFFFFF;
 border-right: #F0F0F0 1px solid;
 border-top: #F0F0F0 1px solid;
 border-left: #F0F0F0 1px solid;
 border-bottom: #F0F0F0 1px solid;
 moz-border-radius-bottomleft: 15px;
 moz-border-radius-bottomright: 15px;
 moz-border-radius-topleft: 3px;
 moz-border-radius-topright: 3px;
}
.controlpanel {
 width: 100%;
 background-color: #dddddd;
}
.header {
 font-family: Arial, Helvetica;
    font-size:  100%;
    font-weight: bold;
    color: #FFFFFF;
 background-image: url(picture.jpg);
 background-repeat:no-repeat;
 height: 358px;
 width: 967px;
}
.leftpane {
 width: 254px;
 background-color: transparent;
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 0px;
}
.contentpane {
 width: 454px;
 background-color: transparent;
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 0px;
}
.contentpane div.content{
 margin-left: 40px;
 margin-right: 40px;
 margin-top: 25px;
}
.contentpane h1{
 margin-left: 40px;
 margin-right: 40px;
 margin-top: 25px;
}
.rightpanehome {
 width: 258px;
 background-color: transparent;
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 0px;
 min-height: 200px;
}
.rightpane {
 width: 258px;
 background-color: transparent;
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 10px;
 min-height: 200px;
}
.rechts {
 width: 259px;
 background-color: transparent;
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 0px;
 border-right-width: 1px;
 border-left-width: 1px;
 border-right-style: solid;
 border-left-style: solid;
 border-right-color: #F9BA00;
 border-left-color: #F9BA00;
}
.searchpane {
 background-color: #f9ba00;
 padding-left: 5px;
 padding-top: 5px;
 padding-bottom: 5px;
 color: #837f73;
 font-size: 11px;
 font-weight: bold;
}
.rechtertabelhome {
 width: 259px;

}
.rechtertabel {
 width: 259px;
}

/*___________________________________________________________________________________________*/
.MainMenu_MenuContainer{ background:transparent; width:100%; height:1px; }
.MainMenu_MenuBar{}
.MainMenu_MenuIcon{ display:none; }
.MainMenu_MenuArrow{ display:none; }
.MainMenu_RootMenuArrow{ display:none; }
.MainMenu_MenuBreak{ display:none; }
.MainMenu_MenuItem{
 color:#333; font-size:11px; font-weight:normal;
 padding:3px 15px 3px 10px;
 border:1px #CBCBCB solid; border-width:1px 0px;
}

 

/*__________________________________*/
.StandardButton {
   background: #aaaaaa none;
   color: #ffffff;
   font-family: Verdana, sans-serif;
   font-size: 11px;
   font-weight: normal;
}
.TreeViewMenu {
 width: 175px;
 background-color: #dddddd;
 border-right: #F0F0F0 1px solid;
 border-top: #F0F0F0 1px solid;
 border-left: #F0F0F0 1px solid;
 border-bottom: #F0F0F0 1px solid;
 moz-border-radius-bottomleft: 15px;
 moz-border-radius-bottomright: 15px;
 moz-border-radius-topleft: 3px;
 moz-border-radius-topright: 3px;
}
.TreeViewMenu_Header {

}

/* text style used for most text rendered by modules */
.Normal
{
    font-family: Arial, Helvetica;
    font-size:   12px;
    font-weight: normal;
}

/* text style used for rendered text which should appear disabled */
.NormalDisabled
{
    color: Silver;
}

/* text style used for rendered text which requires emphasis */
.NormalBold
{
    font-family: Arial, Helvetica, sans-serif;
    font-size:  12px;
    font-weight: bold
}

.Head {
   font-family: Arial, Helvetica, sans-serif;
   font-size:  18px;
   font-weight:  normal;
   color: #333333;
}
/* text style used for textboxes in the admin and edit pages, for Nav compatibility */
.NormalTextBox
{
    font-family: Arial, Helvetica, sans-serif;
    font-size:  12px;
    font-weight: normal;
 background-color: #eae8e6;
 border: 1px  ridge #666666;
}

.NormalRed
{
    font-family: Arial, Helvetica, sans-serif;
    font-size:  12px;
    font-weight: bold;
    color: #ff0000
}

.NormalBold
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
}
.BreadCrumb {
    font-weight: normal;
    font-size:  11px;
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    font-weight: bold;
}

/* Login - Registreer en Privacy en Gebruikersovereenkomst SkinObjects */
A.BreadCrumb:link {
    text-decoration:    none;
    color:#FFFFFF;
    font-weight: bold;
}

A.BreadCrumb:visited  {
    text-decoration:    none;
    color:#FFFFFF;
    font-weight: bold;
}

A.BreadCrumb:active   {
    text-decoration:    none;
    color:#FFFFFF;
   font-weight: bold;
}

A.BreadCrumb:hover    {
    text-decoration:    underline;
    color:#FFFFFF;
    font-weight: bold;
}
.search {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
 color:#FFFFFF;
}
A.search:link {
    text-decoration:    none;
    color:#FFFFFF;
    font-weight: bold;
}

A.search:visited  {
    text-decoration:    none;
    color:#FFFFFF;
    font-weight: bold;
}

A.search:active   {
    text-decoration:    none;
    color:#FFFFFF;
   font-weight: bold;
}

A.search:hover    {
    text-decoration:    underline;
    color:#FFFFFF;
    font-weight: bold;
}

/*MENU*/

.TabList {
    font-size:75%;
 font-family:Arial, Helvetica, sans-serif;
 height:100px;
}
#nav{width:254px;}

#nav ul.Level0 {padding:0;margin:0;list-style:none;position:absolute;float:left;<DELETEDz-index:5;>width:254px;}
#nav ul.Level1 {padding:0;margin:0;list-style:none;position:absolute;float:left;<DELETEDz-index:10;>left: -999em;}
#nav ul.Level2 {padding:0;margin:0;list-style:none;position:absolute;float:left;<DELETEDz-index:15;>left: -999em;}

#nav ul.Level0 li a{display:block;font-family: Arial, Helvetica, sans-serif;}
#nav ul.Level1 li a{display:block;font-family: Arial, Helvetica, sans-serif;}
#nav ul.Level2 li a{display:block;font-family: Arial, Helvetica, sans-serif;}

#nav .Level0 li a:hover {background-color: #6f6e6d;color:#ffffff;}
#nav .Level1 li a:hover {background-color: #f9ba00;color:#ffffff;}
#nav .Level2 li a:hover {background-color: #f9ba00;color:#ffffff;}

#nav .Level0 li {text-transform:uppercase;width:254px;height:34px;border-top-width: 2px;border-top-style: solid;border-top-color: #FFFFFF;background-color:#f9ba00;
vertical-align:middle;list-style:none;position: relative;float:left;}
#nav .Level0 li a {font-weight:bold;font-size:14px;height:34px;color:#FFFFFF;text-decoration:none;padding-top:7px;padding-left:20px;}
#nav .Level0 li.SelectedTab a{background-color: #6F6E6D;}
#nav .Level0 li.SelectedTab a:hover{background-color: #6F6E6D;}

#nav .Level1 li {text-transform:none;height:20px;width:214px;border-top-width: 1px;border-top-style: solid;border-top-color: #FFFFFF;background-color:#6f6e6d;
vertical-align:middle;list-style:none;position: relative;float:left;}
#nav .Level1 li a{font-weight:bold;font-size:12px;height:20px;color:#FFFFFF;text-decoration:none;padding-top:2px;}
#nav .Level1 li.SelectedTab a{background-color: #6F6E6D;}
#nav .Level1 li.SelectedTab a:hover{background-color: #f9ba00;}
#nav .Level1 li a:hover{background-color: #f9ba00;}
#nav .Level0 li.SelectedTab .Level1 a:hover{background-color: #f9ba00;}


#nav .Level2 li {text-transform:none;height:20px;width:214px;border-top-width: 1px;border-top-style: solid;border-top-color: #FFFFFF;background-color:#81807E;
vertical-align:middle;list-style:none;position: relative;float:left;}
#nav .Level2 li a{font-weight:bold;font-size:12px;height:20px;color:#FFFFFF;text-decoration:none;padding-top:2px;}
#nav .Level2 li.SelectedTab a{background-color: #81807E;}
#nav .Level2 li.SelectedTab a:hover{background-color: #f9ba00;}
#nav .Level2 li a:hover{background-color: #f9ba00;}
#nav .Level1 li.SelectedTab .Level2 a:hover{background-color: #f9ba00;}
#nav .Level1 li.SelectedTab .Level2 li.SelectedTab a{background-color: #81807E;color:#000000;}
#nav .Level1 li.SelectedTab .Level2 a{background-color: #81807E;color:#ffffff;}

#nav ul.level0 li:hover, #nav ul.level0 li.iehover{z-index:100;}
#nav ul.level0 li:hover ul.level1, #nav ul.level0 li.iehover ul.level1{display:block;left: 0;top:34px;z-index:200;}
#nav ul.level1 li:hover ul.level2, #nav ul.level1 li.iehover ul.level2{display:block;left:214px;top:-1px;z-index:300;}


/*END MENU*/

 

Keston

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Submenu is driving me crazy!Submenu is driving me crazy!


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