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...Administration ...Administration ...why the attribute I made in solparmenu control do not workwhy the attribute I made in solparmenu control do not work
Previous
 
Next
New Post
6/8/2006 7:03 AM
 

Communication is sometimes difficult.  I don't know why you'd use MENU instead of SOLPARTMENU, or several other things you have there like the odd names.  Here is some working .ascx code from one of my vertical menu skins, look at it and use it as a starting point if you can:

At the top of the page:
<%@ Register TagPrefix="dnn" TagName="SOLPARTMENU" Src="~/Admin/Skins/SolPartMenu.ascx" %>

And for placement of the menu:
<dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" separatecss="true" fontnames="Arial" fontsize="10" Display="Vertical" UseRootBreadcrumbArrow="False" UseSubMenuBreadcrumbArrow="True" UseArrows="True" rootmenuitembreadcrumbcssclass="MainMenu_MenuItemSel"  />

Best regards,

 
New Post
6/13/2006 2:06 AM
 

Sam, Thanks for your help. Now I have made the solpartmenu almost as what I want by setting the css class like as MainMenu_..., and I found that some attributes work and some doesn't, I don't know why it runs like this. But there is a other problem, when I click my mouse, the height of menu bar and menu item padding to left go back the properties before I made setting in Mainmenu_MenuBar, so I need control the properties for mouse click event, but they can not been found in solpartmenu's property list. How can I do with it? Again.many thanks.

 
New Post
6/13/2006 2:10 AM
 

PS, following is the setting of css:.

MainMenu_MenuContainer
{
    width: 175px;
    background-color: #993300;
  
  
}
.MainMenu_MenuBar
{
    cursor: pointer;
    cursor: hand;
    height: 25px;
    background-color: transparent;
    padding-left: 20px;
}
.MainMenu_MenuItem
{
    border-left: #ffd085 0px solid;
    border-bottom: #993300 1px solid;
    border-top: #993300 1px solid;
    border-right: #ffd085 0px solid;
    cursor: pointer;
    cursor: hand;
    color: white;
    font-family: PMingLiU, Tahoma, Arial, Helvetica;
    font-size: 10pt;
    font-weight: normal;
    font-style: normal;   
    background-color: transparent;
    background-image: url(dot.gif);
    background-repeat: repeat-x;
    background-position-y: bottom;
}
.MainMenu_MenuIcon
{
    background-color: #cc3300;
    border-left: #cc3300 1px solid;
    border-bottom: #cc3300 1px solid;
    border-top: #cc3300 1px solid;
    cursor: pointer;
    cursor: hand;
    text-align: center;
    width: 15px;
    height: 21px;
  
}
.MainMenu_SubMenu
{
    background-color: #993300;
    z-index: 1000;
    cursor: pointer;
    cursor: hand;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=      '#696969' , Direction=135, Strength=3);
    border: 2px;
}

.MainMenu_MenuBreak
{
    height: 10px;
    background-color: transparent;
}
.MainMenu_MenuItemSel
{
    background-color: goldenrod;
    cursor: pointer;
    cursor: hand;
    color: #000000;
    font-family: PMingLiU, Tahoma, Arial, Helvetica;
    font-size: 10pt;
    font-weight: normal;
    font-style: normal;
    background-image: url(dot.gif);
    background-repeat: repeat-x;
    background-position-y: bottom;
}
.MainMenu_MenuArrow
{
    border-right: #993300 1px solid;
    border-bottom: #993300 1px solid;
    border-top: #ffd085 0px solid;
    font-family: webdings;
    font-size: 10pt;
    cursor: pointer;
    cursor: hand;
}
.MainMenu_RootMenuArrow {
 font-family: webdings;
 font-size: 10pt;
 cursor: pointer;
 cursor: hand;

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...why the attribute I made in solparmenu control do not workwhy the attribute I made in solparmenu control do not work


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