added YUI and YUI-ext
fixed the resizable text area with IE problem fixed the ad space with IE problem merged the 7.2.0 and 7.1.4 change logs
This commit is contained in:
parent
6bf329d68d
commit
4f68a0933c
1026 changed files with 331404 additions and 60 deletions
30
www/extras/yui/examples/animation/anim_basic.html
Normal file
30
www/extras/yui/examples/animation/anim_basic.html
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Animation Example - Basic</title>
|
||||
<link rel="stylesheet" type="text/css" href="css/demo.css">
|
||||
|
||||
<script type="text/javascript" src="../../build/yahoo/yahoo.js"></script>
|
||||
<script type="text/javascript" src="../../build/event/event.js"></script>
|
||||
<script type="text/javascript" src="../../build/dom/dom.js"></script>
|
||||
<script type="text/javascript" src="../../build/animation/animation.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
YAHOO.example.init = function() {
|
||||
var anim = new YAHOO.util.Anim('demo', { width: {to: 500} });
|
||||
YAHOO.util.Event.on(document, 'click', anim.animate, anim, true);
|
||||
};
|
||||
|
||||
YAHOO.util.Event.onAvailable('demo', YAHOO.example.init);
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body id="animation-demo-basic">
|
||||
<div id="doc">
|
||||
<h1>Animation Example - Basic</h1>
|
||||
<p>This example demonstrates how to animate an element's width to a given value.</p>
|
||||
<p>Click anywhere to start animation.</p>
|
||||
<div id="demo"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue