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, ...Help! submenuitem border during mouseoverHelp! submenuitem border during mouseover
Previous
 
Next
New Post
8/22/2006 2:03 AM
 

Dear RegGFX

First:

The http://www.ameristatebank.com menu is not a solpartmenu.
That means it is not database driven.
Look at the root menu, these menu items are all different pictures…

Second:

You didn’t say that you don’t care about the icons in the submenu, and the arrows to indicate submenu’s.
If you don’t want them, then you can do it… with the solpartmenu.
Just set.

in your .xml file:
<Objects>
  <Object>
    <Token>[MENU]</Token>
      <Settings>
        <Setting>
          <Name>usearrows</Name>
          <Value>false</Value>
        </Setting>                  
        <Setting>
          <Name>userootbreadcrumbarrow</Name>
          <Value>false</Value>
        </Setting>
        <Setting>
          <Name>usesubmenubreadcrumbarrow</Name>
          <Value>false</Value>
        </Setting>
      </Settings>
  </Object>
</Objects>


Or in your styles display:none;

And in your skin.css file:

.MainMenu_MenuIcon {display: none;}
Then your borders in your submenu styles at <td></td> level shall work…
Hope this will help.


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
8/22/2006 9:45 AM
 

No, the post I provided explained that the solpartmenu does not allow for menu item borders to persist due to some hardcoding allowing a selected item border.  The DNNMenu has no hardcoding and therefore should allow for it. 

So you have two options. 

1)  change some script in the spmenu.js file

2)  use DNNMenu

1) What I'd recommend is updating to the latest menu (v1.6.1) by copying the solparwebcontrols.dll into your bin folder and the spmenu.js file to your controls\solpartmenu folder.  You can get these files from my site or the latest version of dotnetnuke.  This won't fix your issue but will update you to the latest menu with the best browser compatibility.  Then open up the spmenu.js file and find this line

function spm_applyBorders(o, sStyle, iSize, sColor, t, l, r, b)

{

if (t) o.style.borderTop = sStyle + " " + iSize + "px " + sColor;

Change it to

function spm_applyBorders(o, sStyle, iSize, sColor, t, l, r, b)

{

return;

if (t) o.style.borderTop = sStyle + " " + iSize + "px " + sColor;

This will cause the menu to no longer support its hardcoded border issues.  Normally I don't recommend changing script like this since it makes upgrading difficult.  In this case, however, I don't anticipate changing the solpartmenu anytime soon.  Instead I am focusing my efforts on the DNNMenu.

2)  If your stuck on DNN 2.x this is not really practical.  But if you are interested in upgrading, using the DNNMenu is pretty straightforward to substitute out.  See this doc for more details.

 

 


 
New Post
8/22/2006 10:44 AM
 

Dear Jon

Thanks for your answer...
Unfortunately I can not open your links (in your last answer en in the answer before...)... (IE7). Is it only me?


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
8/22/2006 10:03 PM
 
jon, gvborre & everyone else,

thanks for the information. sorry for the late response, been busy on other things. since i'm using the newest version of dnn, i'll try using the dnnmenu. i'll keep you guys posted. another thing, does the dnnmenu have a documentation for the css classes & attributes much like the documentation on dnn about skinning (explains the solpartmenu)? or does dnnmenu use the same set of css classes?

thanks,
jared
 
New Post
8/23/2006 1:59 PM
 

It is similar.  This doc (pages 13-16) cover what each menu supports.   The document also discusses how the new nav.ascx skin object should be used which has a more organized set of properties to set.

 


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Help! submenuitem border during mouseoverHelp! submenuitem border during mouseover


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