<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MenuSamples.aspx.cs" Inherits="MenuSamples" %>

<!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>Przykład menu</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet"/>
</head>
<body>
    <form id="form1" runat="server">
   <div id="container">
      <h1>Przykład menu</h1>
      <p>Przykład ten ilustruje przykładowe kontrolki <code>Menu</code>.</p>
     
      
      <asp:Menu id="menuOne" runat="server" DataSourceID="siteSource1" BackColor="#B5C7DE" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="1em" ForeColor="#284E98" StaticSubMenuIndent="10px" >
         <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
         <DynamicHoverStyle BackColor="#284E98" ForeColor="White" />
         <DynamicMenuStyle BackColor="#B5C7DE" />
         <StaticSelectedStyle BackColor="#507CD1" />
         <DynamicSelectedStyle BackColor="#507CD1" />
         <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
         <StaticHoverStyle BackColor="#284E98" ForeColor="White" />
      </asp:Menu>
      <br />
      <br />

      
      <asp:Menu id="menuTwo" runat="server" DataSourceID="siteSource1" BackColor="#FFFBD6" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="1em" ForeColor="#990000" Orientation="Horizontal" StaticSubMenuIndent="10px" >
         <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
         <DynamicHoverStyle BackColor="#990000" ForeColor="White" />
         <DynamicMenuStyle BackColor="#FFFBD6" />
         <StaticSelectedStyle BackColor="#FFCC66" />
         <DynamicSelectedStyle BackColor="#FFCC66" />
         <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
         <StaticHoverStyle BackColor="#990000" ForeColor="White" />
      </asp:Menu>
      <br />
      &nbsp;

      <asp:SiteMapDataSource ID="siteSource1" runat="server" 
         ShowStartingNode="false"  />
         
      <asp:SiteMapDataSource ID="siteSource2" runat="server" 
         ShowStartingNode="false" StartingNodeUrl="Catalog.aspx" />
   </div>
   </form>
</body>
</html>
