Created
June 30, 2009 14:39
-
-
Save mattn/138185 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setTimeout((function(obj) { | |
var obj = obj; | |
var opacity = 0; | |
return function() { | |
if (opacity < 100) { | |
obj.style.MozOpaticy = opacity; | |
opacity += 5; | |
setTimeout(arguments.callee, 100); | |
} | |
} | |
})(obj), 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment