html - How to make an image in a div appear using Javascript -
how make image in div fade in or pop after a amount of seconds using javascript? have researched none of answers on here seem apply me.
thank you
do need this:
<script> settimeout(function(){document.getelementbyid('image').style.display = 'block' ? 'none' : 'block'}, 5000) </script> <div> <div id='image' style='display:none'> here should image </div> </div>
you can see in action here : http://jsfiddle.net/wub8t/
Comments
Post a Comment