lol, ditto, I need excatly the same thing. I have been playing around with this for ages, did you ever get anywhere Shakes?
thought i replied to this but i don't see it so i guess i didn't or i put it somewhere else (most likely)...in any case no i never did get any further on this one which is unfortunate because i can think of quite a few places where i could use another dropdown...in all honesty i cant believe i got it to work at all....but if you figure it out drop a line to this forum....ill be sure to do the same...
peace shakes
Carolina Pulse
My first attempt on this resulted in code that looked a lot like what you originally posted ... what was the breakthrough? The error that I was getting told me that the pages I referred to in the dropdown script were not defined on the site. would you be willing to post the revised code that worked?
I've found the way for replicating drop-down menus like CS site.
I think is not a good-way but it works.
Now its too late in Spain, so tomorrow ill put in the forum.
If someone has another cleaner way to do it, please let me know.
dbruyere: Is the code that you've pasted earlier in this forumthread correct? I'm alos trying to get this to work with leanandgreen. We'll see if I can get that to work. Just want to know if the code earlier in this thread is anything to work with?
I've got the dropdown menus working with default theme except that everything else was looking funky. I just had to see if there was any chance to make theme default to work at least.
You write earlier that you pasted code under <div navigation> and took away what was there. Just wanted to know if that's right?
// Tore - CS hobbyist
I give up for now. I can get a navbar that's got a working drop down in leanandgreen but the graphics look all messed upp. The list goes downwards instead of to the right. So only the Home tab shows. I guess this has something to do with different CSS but I've failed at making that work.
If anyone get this to work with leanandgreen CS2007, tell me!
I'll be working on exactly this in the next couple of days. I'll let you know how it goes.
You're the man!
Ben T. helped me out and I have now succeeded in adding two groups of custom pages, each accessible by javascript menu.
I edited siteurls.confg and added the following:
<!--This is stuff (below) I wanted in the "about us" dropdown, starting with whatisscouting, troopinfohome is handled by the navbar--> <location name="troopinfo" path="/troopinfo/" themeDir="troopinfo" > <url name="troopinfohome" path="default.aspx" pattern="default.aspx" physicalPath="##themeDir##" vanity="{2}" page="home.aspx" /> <url name="whatisscouting" path="whatisscouting.aspx" pattern="whatisscouting.aspx" physicalPath="##themeDir##" vanity="{2}" page="whatisscouting.aspx" /> <url name="annualprogram" path="annualprogram.aspx" pattern="annualprogram.aspx" physicalPath="##themeDir##" vanity="{2}" page="annualprogram.aspx" /> <url name="highadventure" path="highadv.aspx" pattern="highadv.aspx" physicalPath="##themeDir##" vanity="{2}" page="highadv.aspx" /> <url name="community" path="commserv.aspx" pattern="commserv.aspx" physicalPath="##themeDir##" vanity="{2}" page="commserv.aspx" /> <url name="advancement" path="advance.aspx" pattern="advance.aspx" physicalPath="##themeDir##" vanity="{2}" page="advance.aspx" /> <url name="links" path="links.aspx" pattern="links.aspx" physicalPath="##themeDir##" vanity="{2}" page="links.aspx" /> </location> <!--and I will want to do the same sort of thing for the "Join 125" pages --> <location name="join125" path="/join125/" themeDir="join125" > <url name="join125home" path="default.aspx" pattern="default.aspx" physicalPath="##themeDir##" vanity="{2}" page="home.aspx" /> <url name="125basics" path="125basics.aspx" pattern="125basics.aspx" physicalPath="##themeDir##" vanity="{2}" page="125basics.aspx" /> <url name="hellowebelos" path="hellowebelos.aspx" pattern="hellowebelos.aspx" physicalPath="##themeDir##" vanity="{2}" page="hellowebelos.aspx" /> <url name="meetleaders" path="meetleaders.aspx" pattern="meetleaders.aspx" physicalPath="##themeDir##" vanity="{2}" page="meetleaders.aspx" /> <url name="newscouts" path="newscouts.aspx" pattern="newscouts.aspx" physicalPath="##themeDir##" vanity="{2}" page="newscouts.aspx" /> <url name="parents" path="parents.aspx" pattern="parents.aspx" physicalPath="##themeDir##" vanity="{2}" page="parents.aspx" /> <url name="rolesandresp" path="rolesandresp.aspx" pattern="rolesandresp.aspx" physicalPath="##themeDir##" vanity="{2}" page="rolesandresp.aspx" /> </location>
NOTE, I added the PATH info to the urlnames above
Here's what the navigation section of my siteurls file looks like
<navigation> <!-- name: look up value resourceUrl: maps to url name in SiteUrls/Urls resourceName: text for link. Maps to the language resource files roles: Which users can view this link. You can also specify actual links here like the following: <link name="mylink" navigateUrl="http://www.mysite.com/" text="My Link" /> If no roles attribute is given, it will assume it is for Everyone. You can specify multiple roles by separating them with a comma (,). --> <link name="home" text="Home" resourceUrl="home" roles="Everyone" /> <link name="troopinfo" text="About Us" resourceUrl="troopinfohome" roles="Everyone" /> <link name="join125" text="Join 125" resourceUrl="join125home" roles="Everyone" /> <link name="calendar" text="Calendar" resourceUrl="calendarhome" roles="Registered Users" /> <link name="blog" text="Patrol News" resourceUrl="webloghome" roles="Registered Users" applicationType = "Weblog" /> <link name="forums" text="Discussions" resourceUrl="forumshome" roles="Registered Users" applicationType = "Forum" /> <link name="gallery" text="Photos" resourceUrl="galleryhome" roles="Registered Users" applicationType = "Gallery" /> <link name="files" text="Forms" resourceUrl="fileshome" roles="Registered Users" applicationType = "FileGallery" /> <link name="controlpanel" resourceUrl="controlpanel" text="Admin" roles="SystemAdministrator,BlogAdministrator,ForumsAdministrator,Moderator,GalleryAdministrator,FileAdministrator,ReaderAdministrator,MembershipAdministrator" /></navigation>
Here's the master.Master file with the javascript goodies in it. placed copies of this file in the themes/default/common directory and in the other new directories I added. Not sure exactly how it works, but its working
<%@ Master Language="C#" AutoEventWireup="true" %><%@ Import Namespace="CommunityServer.Components" %><%@ Import Namespace="CommunityServer.Blogs.Components" %><%@ Register TagPrefix="CSUserControl" TagName="UserWelcome" src="UserWelcome.ascx" %><script language="C#" runat="server"> protected override void OnInit(EventArgs e) { switch (CSContext.Current.SiteThemeData.GetIntValue("columns", 2)) { case -1: // one column, left (right content is rendered below left content) lc.Controls.AddAt(0, new LiteralControl("<div id=\"CommonSidebarLeft\">")); lc.Controls.Add(rc); lc.Controls.Add(new LiteralControl("</div>")); break; case 1: // one column, right (left content is rendered above right content) rc.Controls.AddAt(0, lc); rc.Controls.AddAt(0, new LiteralControl("<div id=\"CommonSidebarRight\">")); rc.Controls.Add(new LiteralControl("</div>")); break; default: // two columns lc.Controls.AddAt(0, new LiteralControl("<div id=\"CommonSidebarLeft\">")); lc.Controls.Add(new LiteralControl("</div>")); rc.Controls.AddAt(0, new LiteralControl("<div id=\"CommonSidebarRight\">")); rc.Controls.Add(new LiteralControl("</div>")); break; } Telligent.Glow.PopupMenu aboutMenu = CSControlUtility.Instance().FindControl(this, "AboutPopup") as Telligent.Glow.PopupMenu; if (aboutMenu != null) { aboutMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("What is Scouting?", SiteUrls.Instance().UrlData.FormatUrl("whatisscouting"), null, null)); aboutMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("Annual Program", SiteUrls.Instance().UrlData.FormatUrl("annualprogram"), null, null)); aboutMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("High Adventure", SiteUrls.Instance().UrlData.FormatUrl("highadventure"), null, null)); aboutMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("Community Service", SiteUrls.Instance().UrlData.FormatUrl("community"), null, null)); aboutMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("Advancements", SiteUrls.Instance().UrlData.FormatUrl("advancement"), null, null)); aboutMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("Useful Links", SiteUrls.Instance().UrlData.FormatUrl("links"), null, null)); Page.ClientScript.RegisterStartupScript(this.GetType(), "aboutmenu", @" <script type=""text/javascript""> // <![CDATA[ var menu = document.getElementById('aboutMenu'); if (menu) menu.onmouseover= new Function('navigation_showPopup(" + aboutMenu.ClientID + @", this);'); // ]]> </" + "script>", false); } Telligent.Glow.PopupMenu joinMenu = CSControlUtility.Instance().FindControl(this, "JoinPopup") as Telligent.Glow.PopupMenu; if (joinMenu != null) { joinMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("Troop 125 Basics", SiteUrls.Instance().UrlData.FormatUrl("125basics"), null, null)); joinMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("Hello Webelos", SiteUrls.Instance().UrlData.FormatUrl("hellowebelos"), null, null)); joinMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("Adult Leaders", SiteUrls.Instance().UrlData.FormatUrl("meetleaders"), null, null)); joinMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("New Scout Path", SiteUrls.Instance().UrlData.FormatUrl("newscouts"), null, null)); joinMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("New Parent Info", SiteUrls.Instance().UrlData.FormatUrl("parents"), null, null)); joinMenu.MenuItems.Add(new Telligent.Glow.PopupMenuItem("Roles & Responsibilties", SiteUrls.Instance().UrlData.FormatUrl("rolesandresp"), null, null)); Page.ClientScript.RegisterStartupScript(this.GetType(), "joinmenu", @" <script type=""text/javascript""> // <![CDATA[ var menu = document.getElementById('joinMenu'); if (menu) menu.onmouseover= new Function('navigation_showPopup(" + joinMenu.ClientID + @", this);'); // ]]> </" + "script>", false); } base.OnInit(e); }</script><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head runat="server"> <CSControl:Head runat="Server" > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <CSControl:Style runat="server" visible = "true" /> <CSControl:Style runat="server" visible = "true" href="~/themes/default/style/Common.css" /> <CSControl:Style runat="server" href="~/themes/default/style/common_print.css" media="print" /> <asp:ContentPlaceHolder runat="server" id="HeaderRegion" /> <CSControl:Style runat="server" href="~/themes/default/style/DynamicStyle.aspx" EnsureNotCachedOnPreview="true" /> <!--[if lte IE 6]> <CSControl:Style runat="server" href="~/themes/default/style/alpha.css" /> <![endif]--> </CSControl:Head> </head> <body> <form runat="server"> <TWC:Modal ID="Modal1" runat="server" CssClasses="CommonModal,CommonModal1,CommonModal2,CommonModal3,CommonModal4,CommonModal5" TitleCssClasses="CommonModalTitle" CloseCssClasses="CommonModalClose" ContentCssClasses="CommonModalContent" FooterCssClasses="CommonModalFooter" ResizeCssClasses="CommonModalResize" MaskCssClasses="CommonModalMask" LoadingUrl="~/utility/loading.htm" /> <asp:ContentPlaceHolder id="bscr" runat="server" /> <asp:ContentPlaceHolder id="bhcr" runat="server" > <div id="CommonHeader"> <div class="Common"> <div id="CommonHeaderUserArea"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="top"> <td> <div id="CommonHeaderUserRoundLeft"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div> </td> <td> <div id="CommonHeaderUserContent"> <div id="CommonHeaderUserWelcome"> <CSUserControl:UserWelcome runat="server" /> </div> <CSControl:SearchForm runat="server" QueryFilterDropDownListId="TitleBarSearchDropDownList" QueryTextBoxId="TitleBarSearchText" SubmitButtonId="TitleBarSearchButton" Tag="Div" ContainerId="CommonHeaderSearch" > <FormTemplate> <CSControlefaultButtonTextBox id="TitleBarSearchText" runat="server" columns="15" maxlength="64" ButtonId="TitleBarSearchButton" Style="width: 100px;" /> <CSControl:PlaceHolder Runat="server"> <DisplayConditions><CSControl:ControlVisibilityCondition ControlId="TitleBarSearchDropDownList" ControlVisiblilityEquals="true" runat="server" /></DisplayConditions> <ContentTemplate> <CSControl:ResourceControl runat="server" ResourceName="TitleBar_SearchIn" /> <aspropDownList Runat="server" ID="TitleBarSearchDropDownList" /> </ContentTemplate> </CSControl:PlaceHolder> <CSControl:ResourceButton id="TitleBarSearchButton" runat="server" ResourceName="Search" /> </FormTemplate> </CSControl:SearchForm> </div> <div id="CommonHeaderUserRoundBottom"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div> </td> <td> <div id="CommonHeaderUserRoundRight"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div> </td> </tr> </table> </div> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td id="CommonHeaderImage"> <CSControl:SiteUrl runat="server" UrlName="Home"><ContentTemplate><CSControl:SiteThemeConfigurationDataImage ImageUrlProperty="logoUrl" BorderWidth="0" runat="server" ThemeName="default" /></ContentTemplate></CSControl:SiteUrl> </td> <td id="CommonHeaderTitle"> <h1><CSControl:SiteSettingsEditableData Property="SiteName" runat="server" EditorLinkCssClass="CommonTextButton" EditorCssClass="CommonInlineTagEditor" ContentCssClass="CommonContentPartBorderOff" ContentEditingCssClass="CommonContentPartBorderOn" ContentHoverCssClass="CommonContentPartBorderOn" /></h1> <div id="CommonHeaderDescription"><CSControl:SiteSettingsEditableData Property="SiteDescription" runat="server" EditorLinkCssClass="CommonTextButton" EditorCssClass="CommonInlineTagEditor" ContentCssClass="CommonContentPartBorderOff" ContentEditingCssClass="CommonContentPartBorderOn" ContentHoverCssClass="CommonContentPartBorderOn" /></div> </td> <td id="CommonHeaderImage"> <CSControl:Image ImageUrl="~/SiteFiles/1000/second2none.gif" BorderWidth="0" runat="server" /> </td> </tr> </table> </div> </div> <div id="CommonNavigation"> <div class="Common"> <TWC:PopupMenu ID="AboutPopup" runat="server" MenuGroupCssClass="CommonContextMenuGroup" MenuItemCssClass="CommonContextMenuItem" MenuItemSelectedCssClass="CommonContextMenuItemHover" MenuItemExpandedCssClass="CommonContextMenuItemExpanded" MenuItemIconWidth="0" MenuItemIconHeight="0" MenuDirection="UpDown" /> <TWC:PopupMenu ID="JoinPopup" runat="server" MenuGroupCssClass="CommonContextMenuGroup" MenuItemCssClass="CommonContextMenuItem" MenuItemSelectedCssClass="CommonContextMenuItemHover" MenuItemExpandedCssClass="CommonContextMenuItemExpanded" MenuItemIconWidth="0" MenuItemIconHeight="0" MenuDirection="UpDown" /> <script type="text/javascript"> // <![CDATA[ var navigation_popup = null; function navigation_showPopup(popup, element) { if (popup && !popup.IsOpen()) { navigation_hidePopup(); popup.OpenAtElement(element); navigation_popup = popup; } } function navigation_hidePopup() { if (navigation_popup) { navigation_popup.Close(); navigation_popup = null; } } // ]]> </script> <CSControl:NavigationList runat="server"> <HeaderTemplate><ul></HeaderTemplate> <ItemTemplate> <%-- <CSControl:CSLinkData runat="server" Tag="Li" LinkCssClass="Selected" LinkTo="Link" Property="Text"> <DisplayConditions><CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="IsSelected" Operator="IsSetOrTrue" /></DisplayConditions> </CSControl:CSLinkData> <CSControl:CSLinkData runat="server" Tag="Li" LinkTo="Link" Property="Text"> <DisplayConditions Operator="Not"><CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="IsSelected" Operator="IsSetOrTrue" /></DisplayConditions> </CSControl:CSLinkData>--%> <CSControl:CSLinkData runat="server" Tag="Li" LinkCssClass="Selected" LinkTo="Link" Property="Text" onmouseover="navigation_hidePopup();"> <DisplayConditions> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="IsSelected" Operator="IsSetOrTrue" /> <CSControl:Conditions Operator="Not" runat="server"> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="Name" Operator="EqualTo" ComparisonValue="troopinfohome" /> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="Name" Operator="EqualTo" ComparisonValue="join125home" /> </CSControl:Conditions> </DisplayConditions> </CSControl:CSLinkData> <CSControl:CSLinkData runat="server" Tag="Li" LinkTo="Link" Property="Text" onmouseover="navigation_hidePopup();"> <DisplayConditions Operator="Not"> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="IsSelected" Operator="IsSetOrTrue" /> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="Name" Operator="EqualTo" ComparisonValue="troopinfo" /> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="Name" Operator="EqualTo" ComparisonValue="join125" /> </DisplayConditions> </CSControl:CSLinkData> <CSControl:CSLinkData runat="server" Tag="Li" LinkCssClass="Selected" LinkTo="Link" ContainerId="aboutMenu" Property="Text"> <DisplayConditions> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="IsSelected" Operator="IsSetOrTrue" /> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="Name" Operator="EqualTo" ComparisonValue="troopinfo" /> </DisplayConditions> </CSControl:CSLinkData> <CSControl:CSLinkData runat="server" Tag="Li" LinkTo="Link" Property="Text" ContainerId="aboutMenu"> <DisplayConditions Operator="And"> <CSControl:Conditions Operator="Not" runat="server"> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="IsSelected" Operator="IsSetOrTrue" /> </CSControl:Conditions> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="Name" Operator="EqualTo" ComparisonValue="troopinfo" /> </DisplayConditions> </CSControl:CSLinkData> <CSControl:CSLinkData runat="server" Tag="Li" LinkCssClass="Selected" LinkTo="Link" ContainerId="joinMenu" Property="Text"> <DisplayConditions> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="IsSelected" Operator="IsSetOrTrue" /> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="Name" Operator="EqualTo" ComparisonValue="join125" /> </DisplayConditions> </CSControl:CSLinkData> <CSControl:CSLinkData runat="server" Tag="Li" LinkTo="Link" Property="Text" ContainerId="joinMenu"> <DisplayConditions Operator="And"> <CSControl:Conditions Operator="Not" runat="server"> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="IsSelected" Operator="IsSetOrTrue" /> </CSControl:Conditions> <CSControl:CSLinkPropertyValueComparison runat="server" ComparisonProperty="Name" Operator="EqualTo" ComparisonValue="join125" /> </DisplayConditions> </CSControl:CSLinkData> </ItemTemplate> <FooterTemplate></ul></FooterTemplate> </CSControl:NavigationList> </div> </div> <div id="CommonNavigationShadow"> <asp:ContentPlaceHolder runat="server" ID="bbcr" /> </div> </asp:ContentPlaceHolder> <div class="Common"> <asp:PlaceHolder runat="server" ID="rc"> <asp:ContentPlaceHolder id="rcr" runat="server" /> </asp:PlaceHolder> <asp:PlaceHolder runat="server" ID="lc"> <asp:ContentPlaceHolder id="lcr" runat="server" /> </asp:PlaceHolder> <div id="CommonContent"><div id="CommonContentInner"><asp:ContentPlaceHolder id="bcr" runat="server" /></div></div> </div> <div id="CommonFooter"> <div class="Common"> <asp:ContentPlaceHolder id="BodyFooterRegion" runat="server" > <CSControl:SiteSettingsData Property="Copyright" Tag="Div" runat="server" /> <CSControl:PlaceHolder runat="server"> <DisplayConditions Operator="Not"><CSControl:RegistrationPropertyValueComparison ComparisonProperty="IsCommercial" Operator="IsSetOrTrue" runat="server" /></DisplayConditions> <ContentTemplate> <a href="http://communityserver.org/r.ashx?1" target="_blank"><CSControl:Image ImageUrl="~/utility/PoweredByCS_personal.gif" BorderWidth="0" runat="server" AlternateText='<%# string.Format(CommunityServer.Components.ResourceManager.GetString("Footer_PoweredBy"), "Community Server (Non-Commercial Edition)") %>' /></a> </ContentTemplate> </CSControl:PlaceHolder> <CSControl:PlaceHolder runat="server"> <DisplayConditions Operator="And"> <CSControl:RegistrationPropertyValueComparison ComparisonProperty="IsCommercial" Operator="IsSetOrTrue" runat="server" /> <CSControl:SiteSettingsPropertyValueComparison ComparisonProperty="EnableEula" Operator="IsSetOrTrue" runat="server" /> </DisplayConditions> <ContentTemplate> <a href="http://communityserver.org/r.ashx?j" target="_blank"><CSControl:Image ImageUrl="~/utility/PoweredByCS_commercial.gif" BorderWidth="0" runat="server" AlternateText='<%# string.Format(CommunityServer.Components.ResourceManager.GetString("Footer_PoweredBy"), "Community Server (Commercial Edition)") %>' /></a> </ContentTemplate> </CSControl:PlaceHolder> </asp:ContentPlaceHolder> </div> </div> </form> <asp:ContentPlaceHolder id="outsidetheform" runat="server" /> </body></html>
Hope this helps somebody
Thanks!
I'll wait for dbruyere or try this solution! Thanks for sharing!
//Tore
Did anyone ever get the CSS styles applied properly? I've added these styles to a new stylesheet and linked that into master.Master. The text style is being applied correctly but the background image is not showing nor are the borders. The image is where it's supposed to be according to the link below.
To be more explicit it appears that CSContextMenuGroup & CSContextMenuSeparator styles are not being applied and CSContextMenuItem & CSContextMenuItemHover are.
Thanks,
Jeff
CSContextMenuGroup{ border: solid 1px #999; border-top-color: #9AB5EC; border-left-color: #9AB5EC; padding: 3px 0; background-image: url('/SiteFiles/1000/sidebar-gradient.jpg'; background-position: bottom right; background-repeat: repeat-x; background-color: #CCCDC8; width: 150px;}.CSContextMenuItem{ color: #666; font-size: 90%; cursor: pointer; padding: 3px 6px 3px 12px; font-weight: bold; width: 132px;}.CSContextMenuSeparator{ height: 1px; overflow: hidden; margin: -1px -6px -1px -12px; position: relative; z-index: 2; background-color: #ccc; padding: 0;}.CSContextMenuItemHover{ color: #000; font-size: 90%; font-weight: bold; cursor: pointer; padding: 3px 6px 3px 12px; width: 132px;}.CSContextMenuItemExpanded{ color: #000; font-size: 90%; cursor: pointer; padding: 3px 6px 3px 12px; font-weight: bold; width: 132px;