Skip to content

Instantly share code, notes, and snippets.

@masui

masui/gist:5737708

Created Jun 9, 2013
Embed
What would you like to do?
画像を表示したり消したりを繰り返す
<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
You can’t perform that action at this time.