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, ...CanCan't get Separators to display.
Previous
 
Next
New Post
8/1/2006 4:03 PM
 

dnn:NAV and dnn:Menu are skin objects (which are in turn, usercontrols).  If you want to follow "best practices" it is recommended that you use the new organized properteis.  the dnn:Menu skin object allows you to use the same "old" properties AND the new organized ones.  the dnn:Nav control only allows the newly organized ones.  For example to change the menu bar's classname in DNN:Menu you could use either menubarcssclass or csscontrol.  With DNN:Nav you can only ise csscontrol.  Another example would be being able to use either menuitemselcssclass or cssnodehover with the DNN:Menu object, and only the cssnodehover with DNN:Nav.  Make sense?

Page 18, 19, and 20 of this document outlines the property reorganization.  Page 16 of that document shows what properties each provider supports, though as I noted above, the separator is incorrectly marked for DNNMenu).

The example in the first post specifies ProviderName="DNNMenuNavigationProvider" which states that your skin will use the DNNMenu as its menu control, instead of Solpart.  This is not required in order to use the dnn:NAV skin object.

The next question is which menu to use?  Solpart is obviously more mature, and as such offers more features.  Those features do come with some baggage that is annoying.  Eventually the DNNMenu will catch up to solpart.  So if the DNNMenu offers everything you are looking for at the moment, use it, for it already offers some features that Solpart will never offer.  If it is not adaquate at the moment, then use solpart or some other nav control that is adaquate (DNNTree, ASPNET2Menu, etc.) 


 
New Post
8/1/2006 4:07 PM
 
Note:  I moved this thread from the ClientAPI to the Skinning forum. 

 
New Post
8/2/2006 7:19 AM
 

OK, I have gone to the dnn:Menu but still no right separator.

<dnn:MENU runat="server" id="dnnMENU" ProviderName="DNNMenuNavigationProvider"
      ClearDefaults="true"
      CSSControl="MainMenuBar"
      CSSContainerRoot="MainMenuContainer"
      CSSNode="MainMenuItem"
      CSSNodeRoot="MainMenuRootItem"
      CSSContainerSub="MainMenuSubMenu"
      CSSBreak="MainMenuBreak"
      CSSNodeHover="MainMenuItemHover"
      CSSRightSeparator="RightSeparator"
      IndicateChildren="false"
      userootbreadcrumbarrow="false" />

(Is there another way to loose the root bread crumb arrow? This seems like old solpart>?)

 

CSS..........................

.MainMenuContainer {
background-color: transparent;
}
.MainMenuBar {
cursor:auto;
height:23px;
line-height: 20px;
background-color: Transparent;
}
.MainMenuItem  { /* Add TD if yes for tables option for menu */
cursor:auto;
color: #FFFFFF;
font-size: 12pt;
font-weight: bolder;
text-transform: uppercase;
background-color: Transparent;
font-family: "Times New Roman";
white-space: nowrap;  /*Optional - Word wrapping menu item*/
height: 22px;
}

.MainMenuRootItem  { /* Add TD if yes for tables option for menu */
cursor:auto;
color: #FFFFFF;
font-size: 12pt;
font-weight: bolder;
text-transform: uppercase;
background-color: Transparent;
font-family: "Times New Roman";
white-space: nowrap;  /*Word wrapping menu item now optional*/   
padding: 3px 8px 5px 8px;   /* creates spacing between root menu items */
height: 22px;
}

.MainMenuItemHover { 
color: #254C43;
background-color: transparent;
height: 22px;
}

.MainMenuItemHover td { 
background-color: #9E7F23;
height: 22px;
}

.MainMenuIcon {
cursor:auto;
text-align: center;
width: 3px;
height: 22px;
}

.MainMenuSubmenu {
background-color: #9E7F23;
border: 1px solid black; 
z-index: 1000;
cursor:auto;
filter:progid:DXImageTransform.Microsoft.Shadow(color='#696969', Direction=135, Strength=3);
padding: 2px 4px 2px 4px;   /* creates spacing between sub-menu items */
}

.MainMenuBreak {
height: 1px;
font-size: 1px;
}

.MainMenuArrow {
border-right: #dedede 1px solid;
border-bottom: #dedede 1px solid;
border-top: #dedede 0px solid;
font-family: webdings;
font-size: 10pt;
cursor:auto; /* arrows will not display if function is not set in ascx/xml file*/
}
.MainMenuRootMenuArrow {
font-family: webdings, sans-serif;
font-size: 10pt;
cursor:auto; /* arrows will not display if function is not set in ascx/xml file*/
}

.RightSeparator  {
width: 5px;
height: 20px;
background-image: url(rightsep.jpg);
}

And now, how do I get the icon area for the submenus to go away?


Icthus Technologies

Building Faith on the Internet
 
New Post
8/2/2006 9:39 AM
 
Dear jhoelz

I don't dare to say anything if John answer your question.

Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
8/4/2006 5:04 PM
 
Gilbert, any help you can offer would be most welcome.

Icthus Technologies

Building Faith on the Internet
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CanCan't get Separators to display.


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