It's been a really long time since last release of Heapbox. I'd like to thank to all of you who wrote me an e-mail and shared with me ideas of how to make heapbox even better. Also many thanks to Lior Broshi and Chez Fré for your pull requests.

What's new?

Heapbox is part of Bower

Heapbox became a member of Bower - package manager for the web. Heapbox can be found via http://bower.io.

Static title

It's possible to set static title for heapbox. It can be useful if you plan to use Heapbox for menus etc.

$(".basic-example").heapbox({
"title":"Select something..."
});

New option "showFirst"

If showFirst attribute is set to true than first value of heapbox will be removed.

<select class="basic-example" id="myIdentificator" style="">
<option value="option1">Select something...</option>
<option value="option2" disabled>Second option</option>
<option value="option3">Third option</option>

New option "inheritVisibility"

If original element is hidden, heapbox will inherit this setting and will be hidden as well.

onChange know value of selected item and source element

Now you can access selected value and source element via onChange callback.

$(".basic-example").heapbox({
"onChange": function(val,sEl){//something to do with val or source element}
});

Removed refreshSourceSelectbox execution

I don't see any reason why we would need to refresh the original element.

Better logic for Heapbox identificators

Heapbox has random identificator in format "heapbox_<generated_id>". Since 0.9.4 heapbox know how to inherit identificator of source element (if exists), final identificator can look like "heapbox_myIdentificator" (based on example below).

<select class="basic-example" id="myIdentificator" style="">
<option value="option1">First option</option>
<option value="option2" disabled>Second option</option>
<option value="option3">Third option</option>

mousewheel support

Added mousewheel support. This function require jquery mousewheel.

Thanks for using Heapbox!