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, ...DNN Nav Menu V2 HelpDNN Nav Menu V2 Help
Previous
 
Next
New Post
1/28/2009 1:07 PM
 

Question 1: How do use a "hover image" on the "root item" while I am "hovering over a sub menu item"?

 

Question 2: How do I make the "selected sub menu item" the same height as the "hovered sub menu item"?

 

Here is my css code:

.easyMenu
{
    padding:14px 0px 14px 0px;
    font-family:Tahoma,Arial,Helvetica;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    float:left;
    font-weight:bold;
    /* ADD SEPERATOR BEFORE FIRST ROOT TAB */
    /* background: url(blue/menu-mid.gif) left top no-repeat; */
}

.easyMenu .root
{   
    color:#000; border: 1px solid transparent;
    /*set an unused color to be index color*/
    _border-color:tomato;
    /*For IE6-*/ /*then remove this indexed color*/
    _filter:chroma(color=tomato);/*For IE6-*/
    padding:10px 18px 10px 18px;
    background: url(blue/menu-mid.gif) right top no-repeat;
}

.easyMenu .hov

    background-image:url(blue/blue-menu-mid.jpg);
    background-repeat:repeat-x;
    background-position:center;
    color:#fff;
    border: 1px solid #005cc3;
}

.easyMenu .sel, .easyMenu .bc
{
    background-image:url(blue/blue-menu-mid.jpg);
    background-repeat:repeat-x;
    background-position:center;
    color:#fff;
    border: 1px solid #005cc3;
}

.easyMenu .m
{
    border:1px solid #ccc;
    background-color: #3f9bf7;
    background-image: url(blue/blue-submenu.jpg);
    background-repeat: repeat-x;
    background-position: left bottom;
}
.easyMenu .m
{
    line-height:2em;
}

.easyMenu .m td
{
    z-index: 1000;
    font-size: 11px;
    text-align:left;
    color:#fff;
    font-weight:normal;
    line-height:2em;
    padding: 0px 2px;
    margin:0px;
    background: none;
    border:0px;
}

.easyMenu .m .hov td 

    color:#ffffff;
    background: none  #025dbc;
}

.easyMenu .m .sel td
{
    color:#ffffff;
    background: none  #025dbc;
}

.easyMenu .break
{
    height: 2px;
    background-color: #D5E0FF;
}

 

 
New Post
1/28/2009 1:40 PM
 

you probably need to apply the background image to the td tag in the submenu item, something like this: .m .mi td {}

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
1/28/2009 2:31 PM
 

Thanks Peter. Thats what I originally thought but after a bit of playing this worked for question 2:

.easyMenu .mi
{
    height:20px;
}
 

Any one have any ideas about question 1?

 
New Post
1/30/2009 2:32 PM
 

BUMP.. Does anyone have any idea how to fix question 1 or is this a bug in the DNN Nav Menu?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN Nav Menu V2 HelpDNN Nav Menu V2 Help


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