skmMenu with Style!

This demo shows skmMenu in action with a number of stylistic properties set.

Realize that the menu's data is specified via an XML file, named MenuData.xml in this example. Be sure to check out the XML file.

Source Code:

<%@ Register TagPrefix="skm" Namespace="skmMenu" Assembly="skmMenu" %>
<script language="VB" runat="server">
  Sub Page_Load(sender as Object, e as EventArgs)
    If Not Page.IsPostBack then
      Menu1.DataSource = Server.MapPath("MenuData.xml")
    End If
  End Sub

<form runat="server">
	<skm:Menu id="Menu1" runat="server">
		<MenuStyle BackColor="LightGray" CellPadding="4" Font-Name="Verdana"
				Font-Size="11pt" BorderColor="Black" BorderStyle="solid" BorderWidth="2px" />
		<SelectedMenuItemStyle BackColor="LightYellow" />