upgrading to newer versions
This commit is contained in:
parent
e1a0b462a1
commit
4d9af2c691
1271 changed files with 0 additions and 539033 deletions
|
|
@ -1,31 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Motion 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.Motion('demo', { points: { to: YAHOO.util.Dom.getXY('target') } });
|
||||
YAHOO.util.Event.on(document, 'click', anim.animate, anim, true);
|
||||
};
|
||||
|
||||
YAHOO.util.Event.onAvailable('demo', YAHOO.example.init);
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body id="animation-demo-motion">
|
||||
<div id="doc">
|
||||
<h1>Motion Example - Basic</h1>
|
||||
<p>This example demonstrates how to animate an element's position using the Motion subclass.</p>
|
||||
<p>Click anywhere to start animation.</p>
|
||||
<div id="demo"></div>
|
||||
<div id="target"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue