Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • san 30 posts 51 karma points
    Jan 23, 2014 @ 17:18
    san
    0

    menu styles

    hi there

    i am trying to display menustyles for my website 

    for your refrence:file:///C:/Users/chaitanya/Desktop/Untitled.png

    i need the menu styles as i provided you as a reference.

    and my code is:

    <%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>

     

    <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">

    <!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" >

      <head runat="server">

        <title>Menu LevelMenuItemStyles and LevelSelectedStyles Example</title>

        </head>

        <body>

    <form id="form1" runat="server">

         <asp:menu id="NavigationMenu"

            staticdisplaylevels="2"

            staticsubmenuindent="10" 

            orientation="Horizontal"

            target="_blank"  

            runat="server">

            <levelmenuitemstyles>

              <asp:menuitemstyle BackColor="#F0F8FF"

               forecolor="Black" />

              <asp:menuitemstyle BackColor="#B0C4DE" forecolor="Black"/>

              <asp:menuitemstyle BackColor="#FF8C00"

                forecolor="Black"/>          

       </levelmenuitemstyles>

            <levelselectedstyles>

              <asp:menuitemstyle BackColor="#8B0000"

               forecolor="Gray"/>

              <asp:menuitemstyle BackColor="#A52A2A"

               forecolor="Gray"/>

              <asp:menuitemstyle BackColor="#800000"

               forecolor="Gray"/>            

    </levelselectedstyles>

              <items>

    <asp:menuitem text="Home"

                tooltip="Home">

                <asp:menuitem text="Destinations"

                 tooltip="Destinations">

                  <asp:menuitem text="Africa"

                    tooltip="Africa"/>

     

                  <asp:menuitem text="Asia"

                    tooltip="Asia"/>

                  <asp:menuitem text="Australia"

                    tooltip="Australia"/>

     

    <asp:menuitem text="North America"

                    tooltip="North America"/>

     

    <asp:menuitem text="Central America"

                    tooltip="Central America"/>

     

    <asp:menuitem text="South America"

                    tooltip="South America"/>

     

                   </asp:menuitem>

                  <asp:menuitem text="Holiday Types"

                  tooltip="Holiday Types">

                  <asp:menuitem text="Classic Holidays"

                    tooltip="Classic Holidays"/>

             <asp:menuitem text="Family Holidays"

                    tooltip="Family Holidays"/>

                  <asp:menuitem text="Luxury Holidays"

                    tooltip="Luxury Holidays"/>

     

    <asp:menuitem text="Relaxed Holidays"

                    tooltip="Realxed Holidays"/>

                  <asp:menuitem text="Wildlife Tours"

                    tooltip="Wildlife Tours"/>

     

                </asp:menuitem>

    <asp:menuitem text="Groups & Incentive Travel"

                  tooltip="Groups & Incentive Travel">

    </asp:menuitem>

    <asp:menuitem text="Brochures"

                  tooltip="Brochures">

    </asp:menuitem>

    <asp:menuitem text="My Wishlist"

                  tooltip="My Wishlist">

    </asp:menuitem>

    <asp:menuitem text="About Us"

                  tooltip="About Us">

    </asp:menuitem>

    <asp:menuitem text="Contact Us"

                  tooltip="Contact Us">

    </asp:menuitem>

    <asp:menuitem text="Blog"

                  tooltip="Blog">

    </asp:menuitem>

    </asp:menuitem>

            </items>

          </asp:menu>

        </form>

      </body>

    </html>

    </asp:Content>

    HOW TO I DISPLAY MENUITEMS IN THE MIDDLE OF MY IMAGE

    thanks.

Please Sign in or register to post replies

Write your reply to:

Draft