Created
January 14, 2011 02:13
-
-
Save tathamoddie/779044 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
<!doctype html> | |
<html> | |
<head> | |
<title>Fade Test</title> | |
</head> | |
<body> | |
<p> | |
When you click this text it should fade out over one second, then back in over one second. | |
Works perfectly in Firefox, Chrome, Opera and IE8. | |
In IE 9.0.7930.16406 it flashes out, flashes in, fades out, fades in, then flashes out. | |
</p> | |
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.4.min.js"></script> | |
<script type="text/javascript"> | |
$("p").click(function () { | |
$(this) | |
.fadeOut(1000) | |
.fadeIn(1000); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment