in

SharePoint University

Clean slate. Nothing but SharePoint.
Go, SharePoint!

asp menu and quick launch

Last post 08-07-2008 2:40 AM by danilakari. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-04-2008 3:31 PM

    asp menu and quick launch

    I wanted to make some customizations so I used the asp menu and hooked it up to the quick lanuch data source. However, I can't get the static selected style to work (see below). Any ideas? here is the website address www.aspiranet.org

    Thanks,

    Kevin

     

    <asp:Menu runat="server" id="Menu1" DataSourceID="QuickLaunchSiteMap" Orientation="Horizontal" StaticEnableDefaultPopOutImage="False" Width="100%">
            <StaticMenuItemStyle CssClass="Aspiranet-TopNav" HorizontalPadding="5px" />
            <DynamicHoverStyle Font-Underline="False" BackColor="#FFE499" ForeColor="#333333" BorderColor="#FFE499" />
            <DynamicMenuStyle BackColor="#E2F1FA" CssClass="Aspiranet-TopNavDynamic" BorderStyle="Outset" BorderColor="Silver" BorderWidth="1px" />
            <DynamicSelectedStyle Font-Bold="False" CssClass="ms-topnav" />
            <DynamicMenuItemStyle HorizontalPadding="2px" Width="100%" CssClass="Aspiranet-TopNavDynamic" VerticalPadding="2px" ItemSpacing="2px" />
            <StaticHoverStyle Font-Italic="False" Font-Bold="False" BackColor="#E2F1FA" ForeColor="#4FB6D4" />
            <StaticSelectedStyle BackColor="#E2F1FA" BorderColor="#E2F1FA" BorderWidth="1px" BorderStyle="Solid" ForeColor="#4FB6D4" />
           </asp:Menu>

    krinker
  • 08-05-2008 9:31 AM In reply to

    • danilakari
    • Top 150 Contributor
    • Joined on 08-05-2008
    • Madrid/Asturias Spain

    Re: asp menu and quick launch

    Hi, the first thing is ask you do you want do a master page that validate the w3c?, there are lots of page with information or may be you want change the style of the aspmenu?.

  • 08-05-2008 12:46 PM In reply to

    Re: asp menu and quick launch

    Thanks for the reply! I'm new to working with styles so I don't really know how to answer your question. I just want the background of the selected item on the static menu to be light blue (#E2F1FA) rather than dark blue (#4FB6D4). I want visitors to be able to tell where they are in the site by this color change. I will do this through any means you suggest Smile

    krinker
  • 08-07-2008 2:40 AM In reply to

    • danilakari
    • Top 150 Contributor
    • Joined on 08-05-2008
    • Madrid/Asturias Spain

    Re: asp menu and quick launch

    Hi, you can download sharepoint skinner for take a look of what css contain the styles that you want change (I think core.css but i don't sure). Also you must do a component (user control or web part) in which you can change the color, for me I would do a user control that i would introduce in the master page because if you do a web part this would go to the page layout, and this is a comment I don't like this component in the layout page but it's only a idea. Then I would do 2 css with the diferents colors and change the css associated with the user when he (user) would click in the component.

     Regards.

Page 1 of 1 (4 items)

Need SharePoint Training? Attend a SharePoint Bootcamp!
Forum content (c) original posters. Everything else (c) 2008 SharePoint Experts, Inc.