<%@ Page Language="C#" AutoEventWireup="false" %>

<!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" >
<head runat="server">
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <title>Lista punktowana konsumentów mapy witryny</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet"/>
    <style type="text/css">
      /* Pierwsza lista w poziomie */
      #bulHoriz { border: solid 1pt silver; padding: 1em; margin-left: 0;}
      #bulHoriz ul { text-align: right;  }
      #bulHoriz li { display: inline; list-style-type: none;  }
      #bulHoriz a:link, #primary a:visited 
      {
         color: #3399CC;
         font-size: 120%; 
         font-weight: bold;
         border-bottom: solid 4px white; 
         padding: 0.5em 1em 0.4em 1em; 
         text-decoration: none; 
         margin: 0;
      }
      #bulHoriz a:hover { 
        border-bottom: solid 4px #800000; 
        color: #800000;}
      
      /* Druga lista w pionie */  
      #bulVert { border: solid 1pt silver; padding: 1em; margin-left: 0;}
      #bulVert ul { padding: 0; margin: 0; }
      #bulVert li { list-style: none; margin: 0; font-size: 80%;}
      #bulVert li a 
      {
         width: 13em;
         display: block;
         background-color: #f7f2ea; 
         border-width: 1px;
         border-color: #ffe #aaab9c #ccc #fff; 
         border-style: solid;
         color: #777;
         text-decoration: none;
         padding: 0.5em 0 0.5em 2em;
      }
      #bulVert li a:hover
      {
         color: #800000;
         background: #f0e7d7;
      }        
    </style>
</head>
<body>
   <form id="form1" runat="server">
   <div id="container">
      <h1>Konsument mapy witryny</h1>
      <p>Przykład ten ilustruje użycie XmlSiteMap w dwóch listach punktowanych</p>
      
      <asp:BulletedList ID="bulHoriz" runat="Server"  
         DataValueField="url" DataTextField="title"
         DataSourceID="siteSource" DisplayMode="HyperLink" />
         

         
      <asp:BulletedList ID="bulVert" runat="Server" 
         DataValueField="url" DataTextField="title"
         DataSourceID="siteSource" DisplayMode="HyperLink" />
      
      <asp:SiteMapDataSource ID="siteSource" runat="server" 
         ShowStartingNode="false"  />
   </div>
   </form>
</body>
</html>
