update YUI to 2.8.0r4
This commit is contained in:
parent
27f474ec64
commit
2d28e0c0ba
2007 changed files with 344487 additions and 210070 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
31
www/extras/yui/examples/logger/log_skinning_source.html
Normal file
31
www/extras/yui/examples/logger/log_skinning_source.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="yui-skin-sam">
|
||||
<p><a href="#" id="loglink">Click here</a> to log a simple message.</p>
|
||||
|
||||
<script type="text/javascript" src="../../build/yuiloader/yuiloader.js"></script>
|
||||
<script type="text/javascript">
|
||||
var loader = new YAHOO.util.YUILoader();
|
||||
loader.insert({
|
||||
require: ['fonts','dragdrop','logger'],
|
||||
base: '../../build/',
|
||||
|
||||
onSuccess: function(loader) {
|
||||
YAHOO.example.Basic = new function() {
|
||||
YAHOO.util.Event.addListener(YAHOO.util.Dom.get("loglink"), "click", function(e) {
|
||||
YAHOO.util.Event.stopEvent(e);
|
||||
YAHOO.log("This is a simple log message.");
|
||||
});
|
||||
|
||||
// Put a LogReader on your page
|
||||
this.myLogReader = new YAHOO.widget.LogReader();
|
||||
};
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue