I'm generally averse to animation effects given the overheads of reflow on the client side browser.
jquery-ui is an awesome widget. It has all the stuff I need. But is there a way to disable the animation -- in other words the widget just appears instead of sliding out or fading in?
One way to achieve this (prior to jQuery UI 1.8) is to set the duration
option to empty string.
$('.date').datepicker({
duration: ''
});
In jQuery UI 1.8+, this is a documented feature of the showAnim
option.
$('.date').datepicker({
showAnim: ''
});
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