Code Monkey home page Code Monkey logo

jbar's Introduction

jbar is a jQuery plugin that transforms an unordered list <ul> into a toolbar with dropdown menus.

Demo

Screenshot

View demo page: http://javan.github.com/jbar/

Usage

Download the latest version of jbar: http://github.com/javan/jbar/zipball/master

jbar requires jQuery 1.4 or higher.
Copy jquery.jbar.js and jbar.css to your server and reference them.
Call .jbar() on your menu elements

See example: http://gist.github.com/553638

Browser support

Enhanced rounded corners, drop shadows, etc. in modern browsers.

Tested in:

  • Safari 4
  • Firefox 3+
  • Chrome
  • IE6+ (gracefully degraded experience)

Fine print

Licensed under the MIT: http://www.opensource.org/licenses/mit-license.php

Copyright 2011+ Javan Makhmali :: [email protected]

jbar's People

Contributors

javan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jbar's Issues

IE7-8 mouseleave hides submenu

Hi Javan,
I'm running into a problem with IE7 and possibly IE8.
If Jbar is inside a tight zone and has elements right underneath it, ie without the padding in your demo site then as soon as you live the

  • that triggered the submenu jbar closes the submenu.
    If anything is "underneath" the submenu IE7 will close the submenu as soon as your mouse is outside the trigger

  • If you change the padding at the bottom of your demo site you can see for yourself if you have ie7.
    It seems very difficult to keep the
  • submenu above anything in IE7(8).

    Do you have any idea/clue...
    Thanks

  • Popup position ajustment

    If jBar button is placed on the right of the screen and there is now enough space between jBar’s button and right edge of your browser, then the jBar’s popup will go out of GUI’s container or stretch it (depends on your layout).

    The solution might be - just to show the popup aligned conditionally to a left or to a right edge of button (currently it is fixed to a left edge).

    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.