GithubHelp home page GithubHelp logo

quiqmenu.js's Introduction

Quiqmenu.js

Usage

Setup Quiqmenu.js is really easy. Get the latest script from github and ensure you are using jQuery 1.3 or higher on your site.

After including the script you have to activate Quiqmenu.js with the following snippet.

<div id="menu"></div>
$(document).ready(function(){
  $("#menu").quiqmenu({
    use: 'h1, h2',
    brand: {
      enable: true,
      title: 'My Plugin'
    }
  });
});

Options

Of course you have the ability to customize your menu with a bunch of options.

name type default description
id string 'quiqmenu' A unique identifier which will be append on generated menu.
use string 'h1, h2' Choose HTML tags which will be collected and used for your menu. Use syntax like »h1, h2, h4, h6«
brand object - If the brand option is enabled it will appear an additional link which goes automatically to top on click.
brand.enable boolean true If true, you should also fill brand.title with some string.
brand.title string 'Quiqmenu.js' Use your own brand title.
bootstrap boolean true By default it uses style and markup from bootstrap. Can be turned off and script only creats an simply ul > li construct. You have to style it on your own.
smooth boolean true If false it jumps to section without smooth scrolling effect.

ToDos

  • Adding scrollspy. A feature which detects manually scrolling and highlights the current section.
  • Use images in brand title.

Licence

Creative Commons License
Quiqmenu.js by Patrick Finkbeiner is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

quiqmenu.js's People

Contributors

pfinkbeiner avatar

Watchers

 avatar James Cloos 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.