Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hellsan631/logosdrilldown

A responsive javascript drill down menu system that focuses on great features without sacrificing performance
https://github.com/hellsan631/logosdrilldown

Last synced: 24 days ago
JSON representation

A responsive javascript drill down menu system that focuses on great features without sacrificing performance

Awesome Lists containing this project

README

        

LogosDrillDown
==============

A responsive drill down menu system that focuses on great features without sacrificing performance

http://mathew-kleppin.com/storage/logosDrillDown/

## Getting Started

### Requirements

```
Requires jQuery
Requires Twitter Bootstrap CSS
```

#### Recommended

```
Recommended VelocityJS
http://julian.com/research/velocity/
```

### Installation

Just include the twitter bootstrap css in the header, along with the (recommended) base style sheet.

```html


```

Next, Add in your content in the body

```html

```

Then add in your scripts

```html

// Initialize menu
$(document).ready(function() {

'use strict';

var $breadcrumbs = $(".nav-wrapper .menu-breadcrumbs"),
$drillDown = $("#nav");

$drillDown.logosDrillDown({
onOpened: manageBreadcrumbs,
onClosed: manageBreadcrumbs,
expandableClass: "has-children",
startName: "Home"
});

//If you want the menu to resize when you resize the window,
//just call this function
$(window).on('resize', function(){
$drillDown.logosDrillDown("windowResizeEvent");
});

//functions to manage the breadcrumbs as you go deeper into the menu
function manageBreadcrumbs() {
$breadcrumbs.html($drillDown.logosDrillDown("getBreadcrumbsFormatted"));
}

manageBreadcrumbs();
});

```

### Enjoy!

The menu was build using jQuery, with most of the animations using VelocityJS for maximum performance on desktop and mobile devices.

As there are a few scripts included in here, each script that isn't of my design is copyright its original authors.