Hi i am giving you one example to show and hide div with smooth effect .
My html Code:
<div id="done" style="display:none;">
write content here
</div>
My Java Script Code
<script>
$('#done').fadeIn('slow');
setTimeout(function () {
$('#done').fadeOut('slow');
}, 2000);
</script>
Happy Coding
My html Code:
<div id="done" style="display:none;">
write content here
</div>
My Java Script Code
<script>
$('#done').fadeIn('slow');
setTimeout(function () {
$('#done').fadeOut('slow');
}, 2000);
</script>
Happy Coding
No comments:
Post a Comment