I want to fade in a div on my website in 5 seconds. Also, I dont want to use css Display:none
to hide the div, because this div is very important and I'm thinking if the user doesnt have JS enabled, the div will be hidden forever. So can you guys please tell me how to hide the div on website load and make it visible in 5 seconds? Thanks heaps.
<div id="lead_form"></div>
setTimeout(function(){
$('#lead_form').show();// or fade, css display however you'd like.
}, 5000);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With