A smoother alternative to jQuery show() and hide()
Posted
by
David B
on Stack Overflow
See other posts from Stack Overflow
or by David B
Published on 2011-03-16T15:49:03Z
Indexed on
2011/03/16
16:10 UTC
Read the original article
Hit count: 280
JavaScript
|jQuery
I have a page setup with a hidden column using the jQuery show() and hide() functions to slide the column in and out.
However it's kind of "clunky" and does not look very smooth when showing/hiding; in contrast I also have a section of the page using jquery UI accordion. When switching between these sections the transition looks very nice and smooth...
Is there a better function than show()/hide() which looks as nice as the accordion does? (maybe the "easing" parameter can be used in the show/hide functions, but i'm not sure how to use this properly?)
© Stack Overflow or respective owner