How can i blin开发者_开发知识库k a div. I have a hover on the div element. How can i make with jQuery. That the div is blink up and blink down. And then on the 10 seconds.
Thanks
Is something like this what you are looking for? This code will make the div appear and disappear every 10 seconds:
<script type="text/javascript">
var blink = function(){
$('#blinker').toggle();
};
$(document).ready(function() {
setInterval(blink, 10000);
});
</script>
<div id="blinker">This will blink</div>
精彩评论