gentelella/vendors/devbridge-autocomplete/index.htm
christianesperar 6a6db2ea23 Put dependecy libraries to bower for easy updating
Update also fix some following problem:
- Switcher now working
- Datatable header fix example is now working
- Add missing starrr ratings
- Some mobile responsiveness on table.html page
2016-04-24 22:26:16 +08:00

49 lines
2.0 KiB
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>DevBridge Autocomplete Demo</title>
<link href="content/styles.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<h1>Ajax Autocomplete Demo</h1>
<h2>Ajax Lookup</h2>
<p>Type country name in english:</p>
<div style="position: relative; height: 80px;">
<input type="text" name="country" id="autocomplete-ajax" style="position: absolute; z-index: 2; background: transparent;"/>
<input type="text" name="country" id="autocomplete-ajax-x" disabled="disabled" style="color: #CCC; position: absolute; background: transparent; z-index: 1;"/>
</div>
<div id="selction-ajax"></div>
<h2>Local Lookup and Grouping</h2>
<p>Type NHL or NBA team name:</p>
<div>
<input type="text" name="country" id="autocomplete"/>
</div>
<div id="selection"></div>
<h2>Custom Lookup Container</h2>
<p>Type country name in english:</p>
<div>
<input type="text" name="country" id="autocomplete-custom-append" style="float: left;"/>
<div id="suggestions-container" style="position: relative; float: left; width: 400px; margin: 10px;"></div>
</div>
</div>
<div style="width: 50%; margin: 0 auto; clear: both;">
<h2>Dynamic Width</h2>
<p>Type country name in english:</p>
<div>
<input type="text" name="country" id="autocomplete-dynamic" style="width: 100%; border-width: 5px;"/>
</div>
</div>
<script type="text/javascript" src="scripts/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="scripts/jquery.mockjax.js"></script>
<script type="text/javascript" src="src/jquery.autocomplete.js"></script>
<script type="text/javascript" src="scripts/countries.js"></script>
<script type="text/javascript" src="scripts/demo.js"></script>
</body>
</html>