I have a div that I would like to delay onLoad for a set period of time using jQuery. Here is the code I have that isn't working:
$('#PriceBox').delay(8000).fadeIn(400);
CSS:
/** make sure the element is initially hidden */
#PriceBox {
display: none;
}
jQuery:
$(document).ready(function() {
$('#PriceBox').delay(8000).fadeIn(400);
});
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