jqSelecta renders a scrollable tabular view of a HTML element's s.
Useful for large data sets (with an arbitrary number of columns, as well as optional select all, select none and invert selection
... [More]
buttons) and also where you'd like the form elements to conform to the UI (i.e. themeroller skin).
It's non-destructive, in that the underlying form element isn't destroyed - the plugin maintains the state of the underlying select-option, so plain form submission will work and other JS components can access the select-option's state without tight coupling to the jqSelecta plugin.
State optionally persisted using cookies, and, in multi-select mode the cancel button reverts to previous selection.
For a full list of features/options see the wiki.
Notes:
This plugin is themeroller compatible as of jQueryUI 1.7 Currently this is quite a new project, i'll happily fix any bugs reported while it's still fresh =) Release 0.3 is now available
.gadget-title {
margin-bottom: 2px;
}
function resizeIframeHandler(opt_height) {
var elem = document.getElementById(this.f);
if (!elem) return;
if (!opt_height) {
elem.style.height = undefined;
}
else {
opt_height = Math.max(10, opt_height);
elem.style.height = opt_height + 'px';
}
}
gadgets.rpc.register("resize_iframe", resizeIframeHandler);
gadgets.rpc.register('set_title', function(title) {
var elem = document.getElementById(this.f + '_title');
if (elem) {
elem.innerHTML = gadgets.util.escape(title);
}
}); [Less]