Click here to Skip to main content
15,892,059 members
Articles / Web Development / ASP.NET

Using Multiple Sitemap Files with the jQuery Superfish Menu Plug-in

Rate me:
Please Sign up or sign in to vote.
4.40/5 (3 votes)
13 Feb 2009CPOL1 min read 45.8K   1.1K   32  
Explains how you can dynamically generate a Superfish menu.
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.30729</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{9406134E-1756-424F-AC53-AEBAC847864C}</ProjectGuid>
    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>DynamicFishMenu</RootNamespace>
    <AssemblyName>DynamicFishMenu</AssemblyName>
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Data" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Web" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Configuration" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="controls\XmlMenu.ascx" />
    <Content Include="css\superfish-navbar.css" />
    <Content Include="css\superfish-vertical.css" />
    <Content Include="App_Themes\Fish\superfish.css" />
    <Content Include="Default.aspx" />
    <EmbeddedResource Include="App_Themes\Fish\images\arrows-ffffff.png" />
    <EmbeddedResource Include="App_Themes\Fish\images\shadow.png" />
    <Content Include="js\hoverIntent.js" />
    <Content Include="js\jquery-1.2.6.min.js" />
    <Content Include="js\superfish.js" />
    <Content Include="js\supersubs.js" />
    <Content Include="Web.config" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="acc\AccWebForm1.aspx.cs">
      <DependentUpon>AccWebForm1.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="acc\AccWebForm1.aspx.designer.cs">
      <DependentUpon>AccWebForm1.aspx</DependentUpon>
    </Compile>
    <Compile Include="acc\AccWebForm2.aspx.cs">
      <DependentUpon>AccWebForm2.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="acc\AccWebForm2.aspx.designer.cs">
      <DependentUpon>AccWebForm2.aspx</DependentUpon>
    </Compile>
    <Compile Include="acc\AccWebForm3.aspx.cs">
      <DependentUpon>AccWebForm3.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="acc\AccWebForm3.aspx.designer.cs">
      <DependentUpon>AccWebForm3.aspx</DependentUpon>
    </Compile>
    <Compile Include="admin\Admin1.aspx.cs">
      <DependentUpon>Admin1.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="admin\Admin1.aspx.designer.cs">
      <DependentUpon>Admin1.aspx</DependentUpon>
    </Compile>
    <Compile Include="admin\Admin2.aspx.cs">
      <DependentUpon>Admin2.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="admin\Admin2.aspx.designer.cs">
      <DependentUpon>Admin2.aspx</DependentUpon>
    </Compile>
    <Compile Include="admin\Admin3.aspx.cs">
      <DependentUpon>Admin3.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="admin\Admin3.aspx.designer.cs">
      <DependentUpon>Admin3.aspx</DependentUpon>
    </Compile>
    <Compile Include="Archive.aspx.cs">
      <DependentUpon>Archive.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Archive.aspx.designer.cs">
      <DependentUpon>Archive.aspx</DependentUpon>
    </Compile>
    <Compile Include="controls\XmlMenu.ascx.cs">
      <DependentUpon>XmlMenu.ascx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="controls\XmlMenu.ascx.designer.cs">
      <DependentUpon>XmlMenu.ascx</DependentUpon>
    </Compile>
    <Compile Include="Default.aspx.cs">
      <SubType>ASPXCodeBehind</SubType>
      <DependentUpon>Default.aspx</DependentUpon>
    </Compile>
    <Compile Include="Default.aspx.designer.cs">
      <DependentUpon>Default.aspx</DependentUpon>
    </Compile>
    <Compile Include="Enums.cs">
    </Compile>
    <Compile Include="MainPage.Master.cs">
      <DependentUpon>MainPage.Master</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="MainPage.Master.designer.cs">
      <DependentUpon>MainPage.Master</DependentUpon>
    </Compile>
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="maps\MenuAcc.sitemap" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="maps\MenuAdmin.sitemap" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="acc\AccWebForm1.aspx" />
    <Content Include="acc\AccWebForm2.aspx" />
    <Content Include="acc\AccWebForm3.aspx" />
    <Content Include="admin\Admin1.aspx" />
    <Content Include="admin\Admin2.aspx" />
    <Content Include="admin\Admin3.aspx" />
    <Content Include="Archive.aspx" />
    <Content Include="MainPage.Master" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="HttpCombiner.ashx" />
    <Content Include="js\initmenu.js" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
        <WebProjectProperties>
          <UseIIS>False</UseIIS>
          <AutoAssignPort>True</AutoAssignPort>
          <DevelopmentServerPort>1837</DevelopmentServerPort>
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
          <IISUrl>
          </IISUrl>
          <NTLMAuthentication>False</NTLMAuthentication>
          <UseCustomServer>False</UseCustomServer>
          <CustomServerUrl>
          </CustomServerUrl>
          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
        </WebProjectProperties>
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer Sirma Solutions
Bulgaria Bulgaria
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions