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, ...Menu hover or selected images of menu_hover.gifMenu hover or selected images of menu_hover.gif
Previous
 
Next
New Post
2/26/2009 2:15 PM
 

 

 I'm having trouble controlling the use of the background image of the main menu.

The problem started when I did some experimenting with creating a skin for one of my pages. On the other pages, the red image background went away and the white text disappeared into the white background.

I believe that I understand how this is supposed to work (see details below in blue text).
However, there in no menu_hover.gif where I would expect it. If I remember the ../ notation correctly, the image should be in Skins/MinimalExtrophy/images

I did find Portals\_default\Smileys\images\menu_hover.gif and copied it into any place that  I thought might help. Things started operating correctly, so one of the locations must have been correct, but which one? I started removing the menu_hover.gif files, one by one, testing after each removal. After removing all of them, things still work. Yes, I did a refresh. I even closed the browser (IE7)

What's going on! 


In the MinimalExtropy/index.html file, the [NAV] token is used.

In the MinimalExtropy/skin.xml file, the main_dnnmenu_rootitem_hover value and the main_dnnmenu_rootitem_selected value is used.

<Token>[NAV]</Token>
   <Settings>

      <Setting>
         <Name>CSSNodeHoverRoot</Name>
         <Value>main_dnnmenu_rootitem_hover</Value>
      </Setting>

      <Setting>
         <Name>CSSNodeSelectedRoot</Name>
         <Value>main_dnnmenu_rootitem_selected</Value>
      </Setting>

   </Settings>


In the MinimalExtropy/css/menu.css file, both of these call for the background image url(../images/menu_hover.gif).


/*  Main menu hover  */
.main_dnnmenu_rootitem_hover

    background: url(../images/menu_hover.gif) repeat-x top left;
 }

/*  Main menu selected  */
.main_dnnmenu_rootitem_selected
{
    background: url(../images/menu_hover.gif) repeat-x top left;
 }

All I have to do is be sure that the image I want is in ../images/menu_hover.gif

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Menu hover or selected images of menu_hover.gifMenu hover or selected images of menu_hover.gif


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