* resizable text areas now use the YUI 2.5.0 code
* add the new YUI release * document the change in both the changelog and gotcha.txt
This commit is contained in:
parent
69269e50a0
commit
8fdd413d12
1642 changed files with 815513 additions and 16 deletions
41
www/extras/yui/examples/logger/log_autocomplete_source.html
Normal file
41
www/extras/yui/examples/logger/log_autocomplete_source.html
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
#statesautocomplete {width:20em;}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="yui-skin-sam">
|
||||
|
||||
<!-- AutoComplete begins -->
|
||||
<h3>Type a state (will output log messages):</h3>
|
||||
<div id="statesautocomplete">
|
||||
<input id="statesinput">
|
||||
<div id="statescontainer"></div>
|
||||
</div>
|
||||
<!-- AutoComplete ends -->
|
||||
<script type="text/javascript" src="../autocomplete/assets/js/states_jsfunction.js"></script>
|
||||
<script type="text/javascript" src="../../build/yuiloader/yuiloader-beta.js"></script>
|
||||
<script type="text/javascript">
|
||||
var loader = new YAHOO.util.YUILoader();
|
||||
loader.insert({
|
||||
require: ['autocomplete','logger'],
|
||||
base: '../../build/',
|
||||
filter: 'DEBUG',
|
||||
onSuccess: function(loader) {
|
||||
YAHOO.example.LogAutoComplete = new function() {
|
||||
// Instantiate LogReader
|
||||
this.oLogReader = new YAHOO.widget.LogReader();
|
||||
|
||||
// Instantiate DataSource
|
||||
this.oACDS = new YAHOO.widget.DS_JSFunction(getStates);
|
||||
|
||||
// Instantiate AutoComplete
|
||||
this.oAutoComp = new YAHOO.widget.AutoComplete('statesinput','statescontainer', this.oACDS);
|
||||
};
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue