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

<!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 id="Head1" runat="server">
    <title>Contact Us</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet"/>
    <style type="text/css">
      .pathNodes { padding-left: 4px; padding-right: 4px; }
      .noborder { border-style: none; }
      .currentNode { position: relative; top: -6px;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
   <div id="container">
      <h1>Kontakt</h1>
      <p>Przykład ten ilustruje zastosowanie kontrolki SiteMapPath</p>
      
<asp:SiteMapPath ID="smpBreadcrumb" runat="server" >
   <NodeStyle CssClass="pathNodes" />
   <PathSeparatorTemplate>
      <img src="images/pathSeparator.gif" alt="" />
   </PathSeparatorTemplate>       
   <NodeTemplate>       
      <a href='<%# Eval("Url") %>' ><img src='images/crumb_<%# Eval("Title") %>.gif' alt='<%# Eval("Title") %>' class="noborder"/></a>
   </NodeTemplate>
   <CurrentNodeTemplate>
      <asp:Label ID="labCurrNode" runat="server"
         Text='<%# Eval("Title") %>' CssClass="currentNode" />
   </CurrentNodeTemplate>
</asp:SiteMapPath>

      <asp:SiteMapDataSource ID="siteSource" runat="server" 
         ShowStartingNode="false"  />
   </div>
    </form>
</body>
</html>
