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, ...Vertical SolpartmenuVertical Solpartmenu
Previous
 
Next
New Post
5/28/2008 11:57 AM
 

Hey guys,

Sorry if I have missed a thread on this problem. I have a simple vertical solpart menu in my skin that works fine in Firefox, but in IE it adds a blank row after the menu and it's very annoying. Even though it doesn't seem to interfere with my design for now, I don't want this to be a problem later. Please help. Here's my skin.css for the menu:

.MainMenu_MenuContainer
{
    background-color: transparent;
    width:100px;
    border:0px;
}
.MainMenu_MenuBar
{
    cursor: pointer;
    background-color: Transparent;
    border:0px;
}
.MainMenu_MenuItem
{
    border:0px;
}
.MainMenu_MenuIcon
{
    cursor: pointer;
    background-color: #ffcc66;
    border:0px;
    text-align: center;
    width: 15px;
    height: 15px;
}
.MainMenu_SubMenu
{
    z-index: 1000;
    cursor: pointer;
    border:0px;
    background-color: #ffcc66;
}
.MainMenu_MenuBreak
{
    border:0px;
    background-color: #EEEEEE;
    height: 1px;
}
.MainMenu_MenuItemSel
{
    border:0px;
}
.MainMenu_MenuArrow
{
    font-family: webdings;
    font-size: 9pt;
    cursor: pointer;
    border:0px;
}
.MainMenu_RootMenuArrow
{
    font-family: webdings;
    font-size: 9pt;
    cursor: pointer;
    border:0px;
}

.MainMenu_RootMenuItem
{
    font-family: Tahoma, Arial, Helvetica;
    font-size: 9pt;
    border:0px;
}

.MainMenu_RootMenuItemSelected
{
    font-family: Tahoma, Arial, Helvetica;
    font-size: 9pt;
    border:0px;
    color:Red;
    background-color: #ffcc66;
}

 

 

 
New Post
5/28/2008 6:18 PM
 
in file /controls/SolpartMenu/spmenu.js
around line 1650 (1852 in older versions):
 
    if (spm_browserNeedsSpacer() == false && sImage == 'spacer.gif' && bForce != true)
        return ' ';
    else
        return "<IMG SRC=\"" + sPath + sImage + "\" " + spm_getAlt(sAlt) + ">";
 
 Remove the &nbsp; - leave the quotes in place

You'll need to redo this each upgrade.

Rob

 
New Post
5/29/2008 9:55 AM
 

thanks Rob, I will try this fix. However is there any other way than changing the core .js file? Firefox displays it fine so maybe it's just something with the browsers that we can goof around with?

 
New Post
5/29/2008 9:59 AM
 

That fix worked perfectly by the way. Thanks!

 
New Post
5/29/2008 7:19 PM
 

neverthelimit wrote

thanks Rob, I will try this fix. However is there any other way than changing the core .js file? Firefox displays it fine so maybe it's just something with the browsers that we can goof around with?

I would use the fix... given that you should also compress the solpart.js file when you upgrade DNN, it is only a couple more clicks to remove the space.

Compress it here http://www.creativyst.com/Prod/3/

Also, I haven't tried, but I'm guessing that the css fix might be to set font-size:0 for the location of the gap.

Rob

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Vertical SolpartmenuVertical Solpartmenu


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