A tooltip style toolbar jQuery plugin

Related tags

Tips toolbar
Overview

Toolbar.js

A jQuery plugin that creates tooltip style toolbars.

Update

Toolbar.js has been overhauled with new functionality, a completely new design and now makes use of Font Awesome project as the base for icons.

Documentation

You can find the documentation for the toolbar at the toolbar project page. This is the best source for documentation as it will be updated as new features are released.

License

(This project is released under the MIT license.)

Copyright (c) 2013 - 2015 Paul Kinzett (http://kinzett.co.nz/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Comments
  • Links not working for me

    Links not working for me

    None of the links in the reference implementation are working for me. If I navigate to http://paulkinzett.github.io/toolbar/ and click on any of the buttons from the modal menu, it does not append a # to the URL bar.

    Additionally if I change a line like 399 to be an actual link, nothing happens when I click it in the menu. I can however right click and select open in new tab, and that works.

    I am on the current version of chrome in OSX. Thank you for any help!

    opened by bitcoingrant 6
  • Implemented some toolbar event triggering

    Implemented some toolbar event triggering

    toolbaritemclick: Triggered when a button in the toolbar is clicked toolbarshown: Triggered when the toolbar is shown toolbarhidden: Triggered when the toolbar is hidden

    Some times is very handy to know when the toolbar is being shown/hidden. For instance, I use the toolbar to provide formatting options to an item, and then save the item's style to the server when the toolbar is closed.

    The toolbaritemclick is handy when the toolbar content is generated (like providing raw HTML), and there is no DOM node to register for events.

    opened by mandx 5
  • toolbar integration with existing bootstrap

    toolbar integration with existing bootstrap

    What if some one has already full bootstrap with icons , then this tool bar icons dont appear correctly.

    Then This one not needed But tool bar icons messup

    opened by mafar 4
  • Documentation spelling mistakes

    Documentation spelling mistakes

    First paragraph: flexability -> flexibility "Notes" list before "Options" - visable -> visible

    This project is definitely bookmarked BTW.

    opened by quasipickle 4
  • How do you close toolbar when an icon is clicked?

    How do you close toolbar when an icon is clicked?

    Sorry if this is mentioned somewhere that I haven't read yet, but I can show my toolbars and have added dynamic click handlers for each of the icons, yet, how do you close the toolbar when an icon is clicked?

    Thanks for your contribution!

    opened by photostu 3
  • close tool bar when click away

    close tool bar when click away

    hi, is there possibility to close the tool bar when user click on the page outside the tool bar ? because currently the only way to close it is to click the initiating element again,

    thanks in advanced.

    opened by devmondo 2
  • hideOnClick feature missing on github code

    hideOnClick feature missing on github code

    Why the version in the official site http://paulkinzett.github.com/toolbar/ has the hideOnClick function and and code on github doesn't?

        bindHideEvent: function() {
    
            var self = this;
    
            var hideEvent = "click.toolbar";
    
            if(self.options.hideOnClick) {
                $('html').off(hideEvent).on(hideEvent, function( event ) {
                    if(self.toolbar.has(event.target).length === 0 ) {
                        self.hide();
                    }
                });     
            }             
    
        },
    
    opened by rollbackpt 2
  • Images are not displayed on toolbar buttons

    Images are not displayed on toolbar buttons

    All of my files are in the right place, such as /images, /scripts, /css etc. Made sure to point bootstrap.icons.css to the png such as background-image: url("images/glyphicons-halflings.png") Bootstrap.js and jquery*.js are included in the project and html. All files recommended in the documentation are included in the project and html.

    When the toolbar is displayed, there are no images on the buttons. However, the toolbar does display as expected on hover. Any ideas what could be wrong?

    image

    opened by etichenor 1
  • Toolbar not working

    Toolbar not working

    included the following in the in an .html file

    along with