Created
June 9, 2013 04:53
-
-
Save masui/5737708 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
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>title</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<img id="img" src="http://gyazo.com/892d6b42a6a6db62ec368f90f0952984.png"> | |
<script> | |
setInterval(function(){ | |
$("#img").fadeIn(500,function(){$(this).fadeOut(500)}); | |
},0); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment