Hi, i'm really new to jquery and i don't know how to solve this. i added following code to blink a div. initially mypopup div is hidden. and 10 seconds after page was loaded this div appears. because of this toggle() method div displays for 10 more seconds before hiding again. if i want to show that div only for 3 second what can i do???
<script type="text/javascript">
var blink = function(){
//$('#mypopup').css({left:0px, top:0px}
$("#mypopup").css({"left": "0px"});
$("#mypopup").css({"top": "0px"});
$('#mypopup').toggle();
};
$(document).ready(function() {
setInterval(blink, 10000);
});
</script>