view release on metacpan or search on metacpan
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/README.md
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/collapsible.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/custom-icons.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/default.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/fillspace.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/hoverintent.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/index.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/no-auto-height.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/accordion/sortable.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/categories.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/combobox.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/custom-data.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/default.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/folding.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/images/jquery_32x32.png
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/images/jqueryui_32x32.png
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/images/transparent_1x1.png
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/index.html
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/london.xml
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/combobox.html view on Meta::CPAN
<script src="../../jquery-1.8.2.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.button.js"></script>
<script src="../../ui/jquery.ui.position.js"></script>
<script src="../../ui/jquery.ui.menu.js"></script>
<script src="../../ui/jquery.ui.autocomplete.js"></script>
<script src="../../ui/jquery.ui.tooltip.js"></script>
<link rel="stylesheet" href="../demos.css">
<style>
.ui-combobox {
position: relative;
display: inline-block;
}
.ui-combobox-toggle {
position: absolute;
top: 0;
bottom: 0;
margin-left: -1px;
padding: 0;
/* adjust styles for IE 6/7 */
*height: 1.7em;
*top: 0.1em;
}
.ui-combobox-input {
margin: 0;
padding: 0.3em;
}
</style>
<script>
(function( $ ) {
$.widget( "ui.combobox", {
_create: function() {
var input,
that = this,
select = this.element.hide(),
selected = select.children( ":selected" ),
value = selected.val() ? selected.text() : "",
wrapper = this.wrapper = $( "<span>" )
.addClass( "ui-combobox" )
.insertAfter( select );
function removeIfInvalid(element) {
var value = $( element ).val(),
matcher = new RegExp( "^" + $.ui.autocomplete.escapeRegex( value ) + "$", "i" ),
valid = false;
select.children( "option" ).each(function() {
if ( $( this ).text().match( matcher ) ) {
this.selected = valid = true;
return false;
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/combobox.html view on Meta::CPAN
}, 2500 );
input.data( "autocomplete" ).term = "";
return false;
}
}
input = $( "<input>" )
.appendTo( wrapper )
.val( value )
.attr( "title", "" )
.addClass( "ui-state-default ui-combobox-input" )
.autocomplete({
delay: 0,
minLength: 0,
source: function( request, response ) {
var matcher = new RegExp( $.ui.autocomplete.escapeRegex(request.term), "i" );
response( select.children( "option" ).map(function() {
var text = $( this ).text();
if ( this.value && ( !request.term || matcher.test(text) ) )
return {
label: text.replace(
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/combobox.html view on Meta::CPAN
.attr( "title", "Show All Items" )
.tooltip()
.appendTo( wrapper )
.button({
icons: {
primary: "ui-icon-triangle-1-s"
},
text: false
})
.removeClass( "ui-corner-all" )
.addClass( "ui-corner-right ui-combobox-toggle" )
.click(function() {
// close if already visible
if ( input.autocomplete( "widget" ).is( ":visible" ) ) {
input.autocomplete( "close" );
removeIfInvalid( input );
return;
}
// work around a bug (likely same cause as #5265)
$( this ).blur();
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/combobox.html view on Meta::CPAN
destroy: function() {
this.wrapper.remove();
this.element.show();
$.Widget.prototype.destroy.call( this );
}
});
})( jQuery );
$(function() {
$( "#combobox" ).combobox();
$( "#toggle" ).click(function() {
$( "#combobox" ).toggle();
});
});
</script>
</head>
<body>
<div class="ui-widget">
<label>Your preferred programming language: </label>
<select id="combobox">
<option value="">Select one...</option>
<option value="ActionScript">ActionScript</option>
<option value="AppleScript">AppleScript</option>
<option value="Asp">Asp</option>
<option value="BASIC">BASIC</option>
<option value="C">C</option>
<option value="C++">C++</option>
<option value="Clojure">Clojure</option>
<option value="COBOL">COBOL</option>
<option value="ColdFusion">ColdFusion</option>
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/combobox.html view on Meta::CPAN
<option value="Ruby">Ruby</option>
<option value="Scala">Scala</option>
<option value="Scheme">Scheme</option>
</select>
</div>
<button id="toggle">Show underlying select</button>
<div class="demo-description">
<p>A custom widget built by composition of Autocomplete and Button. You can either type something into the field to get filtered suggestions based on your input, or use the button to get the full list of selections.</p>
<p>The input is read from an existing select-element for progressive enhancement, passed to Autocomplete with a customized source-option.</p>
<p>This is not a supported or even complete widget. Its purely for demoing what autocomplete can do with a bit of customization. <a href="http://www.learningjquery.com/2010/06/a-jquery-ui-combobox-under-the-hood">For a detailed explanation of how the...
</div>
</body>
</html>
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/demos/autocomplete/index.html view on Meta::CPAN
<title>jQuery UI Autocomplete Demos</title>
</head>
<body>
<ul>
<li><a href="default.html">Default functionality</a></li>
<li><a href="remote.html">Remote datasource</a></li>
<li><a href="remote-with-cache.html">Remote with caching</a></li>
<li><a href="remote-jsonp.html">Remote JSONP datasource</a></li>
<li><a href="maxheight.html">Scrollable results</a></li>
<li><a href="combobox.html">Combobox</a></li>
<li><a href="custom-data.html">Custom data and display</a></li>
<li><a href="xml.html">XML data parsed once</a></li>
<li><a href="categories.html">Categories</a></li>
<li><a href="folding.html">Accent folding</a></li>
<li><a href="multiple.html">Multiple values</a></li>
<li><a href="multiple-remote.html">Multiple, remote</a></li>
</ul>
</body>
</html>