SolarPartMenu Navigator
Last Post 04/20/2009 3:30 PM by Joseph Craig. 5 Replies.
Author Messages
nagachaitu.net
Nuke Active Member
Nuke Active Member
Posts:22


--
04/16/2009 12:39 AM
    Hi,

    gudie me in defining the css properties for a submenu such that the whiteseperators in between the items of a submenu which u can be seen in the file attached can be removed , i defined the classes in css as follows:


    /* ********** Menu Style ************** */

    .MainMenu_MenuContainer {background:transparent; width:1px; margin:0px auto;}

    .MainMenu_MenuBar {}

    .MainMenu_MenuIcon { display:block; }

    .MainMenu_RootMenuArrow { display:none; }

    .MainMenu_MenuArrow { display:none; }

    /*---------Root Menu Separator---------------*/

    .MainMenu_MenuBreak { display:none; }

    /*---------Menu Background Transparency---------------*/

    .ModuleTitle_MenuItemSel {background-color: transparent;}

    .MainMenu_MenuItemSel {background-color: transparent;}

    /*---------Sub Menu style---------------*/

    .MainMenu_MenuItem{}

    .submenuitembreadcrumb{

    color:#DDE1E4;

    font-size:11px;

    font-weight:bold;

    padding:2px 7px 2px 7px;

    border:1px #8F8989 solid;

    border-width:1px 0px;

    Margin:0px;

    background:#8F8989;

    }

    /*---------Sub Menu style on select---------------*/

    .submenuitemselected{

    color:#DDE1E4;

    font-size:11px;

    font-weight:bold;

    padding:2px 7px 2px 7px;

    border:1px #8F8989 solid;

    border-width:1px 0px;

    Margin:0px;

    background:#8F8989;

    }

    /*---------Sub Menu Frame style---------------*/

    .submenu{

    z-index:1000;

    border:1px #8C9093 solid;

    padding:0px;

    Margin:0px;

    background:#C2C3C5;

    }

    /*---------Root Menu style---------------*/

    .rootmenuitem TD{

    color:#564E4E;

    font-family:Arial;

    font-size:11px;

    font-weight:normal;

    margin:0px;

    height:5px;

    padding:0px 2px 0px 2px;

    }

    /*---------Root Menu style on select---------------*/

    .rootmenuitemselected TD,.rootmenuitembreadcrumb TD{

    color:#DDE1E4;

    font-family: Arial;

    font-size:11px;

    font-weight:normal;

    margin:0px;

    height:5px;

    padding:0px 4px 0px 4px;


    }



    And in the skin.xml ,i defined the token as follows:

    [SOLPARTMENU]

    Display

    horizontal

    usearrows

    false

    userootbreadcrumbarrow

    false

    usesubmenubreadcrumbarrow

    true

    rootmenuitemcssclass

    rootmenuitem

    rootmenuitemselectedcssclass

    rootmenuitemselected

    rootmenuitembreadcrumbcssclass

    rootmenuitembreadcrumb

    Separator

    submenucssclass

    submenu

    submenuitemselectedcssclass

    submenuitemselected

    submenuitembreadcrumbcssclass

    submenuitembreadcrumb

    CSSNodeSelectedRoot

    rootmenuitembreadcrumb

    CSSNodeSelectedSub

    submenuitemselected

    delaysubmenuload

    true

    Joseph Craig
    DNN MVP
    Posts:11667


    --
    04/16/2009 9:43 AM
    Take a look at this tutorial.


    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Allen Wright
    Nuke Newbie
    Nuke Newbie
    Posts:7


    --
    04/20/2009 11:30 AM
    Aww, that didn't help at all!
    Nowhere on that site is this issue addressed - there isn't even an actual "tutorial" on there.

    I am totally thankful for the info on the css classes, but a little more instruction would be very helpful indeed.

    The best I can come up with is put some kind of height restriction on the subMenu.
    The content/links/whatever actually dictates the height of the subMenu.
    It feels a little "hacky" to me, but I'll take anything I can get in certain situations!

    Dig it...

    Irritating lines:
    .MainMenu_SubMenu{
    background-color:#950d0d;
    border:black solid thin;
    }

    No irritating lines:
    .MainMenu_SubMenu{
    background-color:#950d0d;
    border:black solid thin;
    height:50px;
    }

    TA-DAAAAH!!! 
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    04/20/2009 11:35 AM
    OK, let's try again.  Do you have a screen shot that might help define the issue?

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Allen Wright
    Nuke Newbie
    Nuke Newbie
    Posts:7


    --
    04/20/2009 12:24 PM
    bump
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    04/20/2009 3:30 PM
    Your original message did not have a file attachment.  It did include the CSS.  But, I'm still a bit at a loss to see that you want to change.

    Joe Craig, Patapsco Research Group
    Complete DNN Support


    ---