Skip to content

Instantly share code, notes, and snippets.

@ericf
Created May 18, 2010 04:24
Show Gist options
  • Select an option

  • Save ericf/404613 to your computer and use it in GitHub Desktop.

Select an option

Save ericf/404613 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Effects Test</title>
</head>
<h1>Effects Test</h1>
<body>
<script src="http://yui.yahooapis.com/3.1.1/build/yui/yui-min.js"></script>
<script>
YUI().use('node', 'gallery-effects', function(Y){
Y.on('domready', function(){
Y.one('h1').fade({
duration : 4.0,
after : {
finish : function(e){
this.get('node').appear({ duration: 1 });
}
}
});
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment