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, ...Actions Menu drop down positionActions Menu drop down position
Previous
 
Next
New Post
3/6/2008 5:27 AM
 

Hi

Sorry if this has been posted before, i have searched but didn't find the answer.

I am creating a skin, i have included the tag for the module drop down menu.  When i mouse over the dropdown menu icon, the menu appears half way across my module and not under the icon.  How do i position the menu under the icon?

Graham

css


.ModuleTitle_MenuItem {
 border: white 0px solid; /*override borders*/   
}

.ModuleTitle_MenuItem TD {  /*TD if menu is using tables*/
 cursor: pointer;
 cursor: hand;
 color: black;
 font-family: Tahoma, Arial, Helvetica;
 font-size: 9pt;
 font-weight: bold;
 font-style: normal;
 height: 21px;
        white-space: nowrap;  /*Word wrapping menu item now optional*/
        padding: 1px 3px 3px 1px; 
}


.ModuleTitle_MenuIcon {
 cursor: pointer;
 cursor: hand;
 background-color: #EEEEEE;
 width: 15px;
 height: 100%;   /*override the default height for icon so that menubreaks can have heights adjusted*/
}

.ModuleTitle_SubMenu
{
 z-index: 1000;
 cursor: pointer;
 cursor: hand;
 background-color: #FFFFFF;
 filter:progid:DXImageTransform.Microsoft.Shadow(color='DimGray', Direction=135, Strength=3);
 padding: 1px 1px 1px 1px;   /*explicitly set padding for sub-menus */
}

.ModuleTitle_MenuBreak  {
 background-color: #EEEEEE;
 font-size: 1px; /*make sure you take out portal.css ModuleTitle_MenuBreak for this to work*/
}

.ModuleTitle_MenuItemSel {

 cursor: pointer;
 cursor: hand;
 color: black;
 font-family: Tahoma, Arial, Helvetica;
 font-size: 9pt;
 font-weight: bold;
 font-style: normal;
 background-color: #C1D2EE;
}

<%@ Control language="vb" CodeBehind="~/admin/Containers/container.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Containers.Container" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONS" Src="~/Admin/Containers/Actions.ascx" %>
<dnn:ACTIONS runat="server" id="dnnACTIONS" ProviderName="DNNMenuNavigationProvider" ExpandDepth="1" PopulateNodesFromClient="True" />
<div class="pagetextpane" style="background: #d8b4d1;">
    <asp:Image ID="roundedcornr_TL" CssClass="roundedcornr_TL" runat="server" ImageUrl="images/purple_lightpurple_tl.png"/>
    <asp:Image ID="roundedcornr_TR" CssClass="roundedcornr_TR" runat="server" ImageUrl="images/purple_lightpurple_tr.png"/>
    <div class="pagetextpane_content" id="contentpane" runat="server" style="background: #d8b4d1;"></div>
    <asp:Image ID="roundedcornr_BL" CssClass="roundedcornr_BL" runat="server" ImageUrl="images/purple_lightpurple_bl.png"/>
    <asp:Image ID="roundedcornr_BR" CssClass="roundedcornr_BR" runat="server" ImageUrl="images/purple_lightpurple_br.png"/>
</div>

 
New Post
3/6/2008 10:18 AM
 

If you have a pure CSS skin, the default solpartmenu used in containers will fail to align correctly. In the container swap out the [Action] tag for [dropdownaction] do this in the xml as well if your building html, or update the register in your ascx. This creates a dropdown list version of the container menu but it will align correctly.  I have had this issue numerous times with pure CSS based skins. Another option is to use the houseofnuke menu control in the container as well, but it has some vertical position issues when in dynamic mode. (your typical browser meets CSS issues though. IE6 / IE7 renders the menu differently then Mozilla)

 

 
New Post
3/6/2008 11:47 AM
 

I've been having this same problem, and its different in different browsers.  For example, If I'm in edit mode and I hover over some text, the icon to edit the text will pop up 150px or so higher than it should...is there a way to fix things like this?

 
New Post
3/6/2008 12:42 PM
 

if i use the [dropdownaction] the images are missing for the menu options.  is there a way to fix this?  also i have to select the item from the drop down and then click the > to get into the settings for example.  is there a way to use the dropdown with the same sort of automatic menu selection like the Action menu?

sorry very new to DNN! but learning fast!

 

 

 
New Post
3/7/2008 9:40 AM
 

You can use the house of nuke menu. http://www.houseofnuke.com/Projects/HouseMenu/tabid/410/Default.aspx  It will provide you with a bit more control over the menu's appearance and still have it position correctly. I hear the menu in DNN 5.0 will auto resolve this problem, but we still have a little bit till it releases.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Actions Menu drop down positionActions Menu drop down position


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