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, ...DNNMenu separator graphic not workingDNNMenu separator graphic not working
Previous
 
Next
New Post
6/5/2008 10:51 AM
 

The only problem with this is that the roll over target area is the menu items label.  If you change the padding the size of the target area increases but so does the border.  I would like to know how to have the target area covering the full height of the menu but the border being constrained in height.

Anyhow I found that this works for a horizontal menu

   <dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" CSSControl="main_dnnmenu_bar" CSSContainerRoot="main_dnnmenu_container" CSSNode="main_dnnmenu_item" CSSNodeRoot="main_dnnmenu_rootitem" CSSIcon="main_dnnmenu_icon" CSSContainerSub="main_dnnmenu_submenu" CSSBreak="main_dnnmenu_break" CSSNodeHover="main_dnnmenu_itemhover" indicateChildren="false" SeparatorHTML="<img class=&quot;Sep&quot; alt=&quot;*&quot; BORDER=&quot;0&quot; src=&quot;separator.gif&quot;/>"
/>

  and the CSS is

.Sep{
height:15px;
width:2px;
vertical-align:middle;
margin-right:15px;
}

 

 
New Post
6/6/2008 4:27 AM
 

Thanks for the sharing! is there any better solution?


sunblognuke v5 for dnn

Ultimate Blogging Module for DotNetNuke Platform
The professional provider of DotNetNuke support, skin design and custom module development.

 
New Post
1/7/2009 12:18 PM
 

 I'm having a slightly different issue with the separator graphic. Only in Internet Explorer, the first menu item is appearing about 2px or 3px higher than the rest of the menu items. Also with every browser I've tested with the menu items are slightly off vertical centering whenever I use a separator graphic and only when I use a separator graphic.

Here is the code for the my menu:

 

 

<div class="menu">
<dnn:NAV runat="server" SeparatorHTML="<img src=”images/Header_NavVerticalSeparator.jpg”>" CSSSeparator="main_dnnmenu_separator" SeparatorLeftHTML="&nbsp;" SeparatorRightHTML="&nbsp;" ControlAlignment="horizontal" ID="dnnNAV" ProviderName="DNNMenuNavigationProvider" CSSControl="main_dnnmenu_bar" CSSContainerRoot="main_dnnmenu_container" CSSNode="main_dnnmenu_item" CSSNodeRoot="main_dnnmenu_rootitem" CSSNodeSelectedRoot="main_dnnmenu_itemselectedroot" CSSNodeHoverRoot="main_dnnmenu_itemhoverroot" IndicateChildren="true" CSSContainerSub="main_dnnmenu_submenu" CSSBreak="main_dnnmenu_break" CSSNodeHover="main_dnnmenu_itemhover" />
 </div>

 

Here is the menu code in the css file:

/* Nav Menu - using DNN Menu for DotNetNuke 3.3 & 4.3 */

.main_dnnmenu_bar {cursor:auto;height:28px;line-height:25px;background-color:Transparent;}

.main_dnnmenu_rootitem {color:#666666;font-size:10pt;font-weight:bold;font-family:Helvetica, Arial, Sans-Serif;white-space:nowrap;padding:0 0 0 0;height:28px;vertical-align:middle;}

.main_dnnmenu_separator{padding:0px 8px 0px 8px;vertical-align:middle;}

.main_dnnmenu_icon {cursor:auto;text-align:center;width:3px;height:25px; }

.main_dnnmenu_break {height:22px;font-size:1px; }

.main_dnnmenu_arrow {border-right:#A2A0AE 1px solid;font-family:webdings;font-size:10pt;cursor:auto;}

.main_dnnmenu_rootmenuarrow {font-family:Webdings, Sans-Serif;font-size:10pt;cursor:auto;}

 

.StyleIconBackColor {background-color: transparent;}

 

/* for customised menu colours */

.main_dnnmenu_container {background-color:transparent; width:auto; }

.main_dnnmenu_itemhoverroot td{color:#D85A0E; background-color:Transparent;}

.main_dnnmenu_itemhoverroot{color:#D85A0E;background-color:Transparent;}

.main_dnnmenu_itemselectedroot td{color:#D85A0E;background-color:Transparent;}

.main_dnnmenu_itemselectedroot{color:#D85A0E;background-color:Transparent;}

.main_dnnmenu_item  {cursor:auto;color:#FFFFFF;font-size:9pt;font-weight:bold;background-color:Transparent;font-family:Helvetica, Arial, Sans-Serif;white-space:nowrap;height:25px;}

 

.main_dnnmenu_itemhover { color:#154880; background-color:#A8D3FF; height:25px; }

.main_dnnmenu_itemhover td { color:#154880; background-color:#A8D3FF; }

 

/* changing padding here to give more space on sub menu text - check browsers for behaviour */

.main_dnnmenu_submenu { background-color:#154880; z-index:1000; cursor:auto; filter:progid:DXImageTransform.Microsoft.Shadow(color='#696969', Direction=135, Strength=3); padding:2px 3px;} 

 

 
New Post
1/8/2009 7:30 PM
 

I cannot get a separator to appear in a horizontal root menu in DNN5.  The code appears in the source code at the bottom of the page, the classes are all spelled exactly, everything is letter for letter, and dnnNav will just not produce a separator of any kind.  This is really easy with Solpartmenu and actually works well.  This is one of the main reasons it disappoints that Solpart is not being supported or is being phased out when it works so much better.  I was going to switch to dnnNav as recommended, but not if it isn't working properly yet or doesn't have similar options for using menu separators that are so easy to produce in Solpartmenu.  Why not phase out dnnNav and keep Solpart up to date?  It works better.

Shrugging my shoulders and giving up on DnnNav,

Rick


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
1/11/2009 8:31 PM
 

Another issue to bring up is that the separatorHTML tag inherits the CSS style from Root Menu Items causing hyperlinked separators. Anybody know how to remove all the hyperlinks on all the separators?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNNMenu separator graphic not workingDNNMenu separator graphic not working


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