Coder Social home page Coder Social logo

sthapa123 / mc.mvcquicknav Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mikechamberlain/mc.mvcquicknav

0.0 1.0 0.0 544 KB

A series of MVC HTML helpers to generate navigation menus, breadcrumb trails and child navigation controls, driven from a standard sitemap file.

CSS 10.94% C# 88.82% ASP 0.24%

mc.mvcquicknav's Introduction

MC.MvcQuickNav

See http://mvcquicknav.apphb.com for a live demo.

A series of MVC HTML helpers to generate navigation menus, breadcrumb trails and child navigation controls, supporting an arbitrary level of depth.

All navigation is driven from a single tree of navigation nodes. The user's current URL is compared with each node to determine which is the best match for the their location in the site. This information is then used to determine which sub-tree(s) to render for each control.

All helpers render their markup semantically as a series of nested unordered list tags, with classes added to the active node and those with children to enable the UI to distinguish these to the user.

The HTML rendered by the NavigationMenu() helper is completely semantic and compatible with many pure CSS menu examples found on the web.

An XML provider is included, which parses the navigation tree from an XML file. It uses the same file format as ASP.NET WebForms web.sitemap.

See the example web project for a full exmaple.

mc.mvcquicknav's People

Contributors

mikechamberlain avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.