Div sliding effect on open/close

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nitinkcv
    New Member
    • Mar 2007
    • 65

    Div sliding effect on open/close

    Hi all,

    I have a div which can be closed and opened on click of a section. Now what i would like to do is that on open and close the div should have a sliding effect.

    Normally what we would do is that just apply the styles display:none or display:block, however in that case it just hides/shows instantly.

    What i would like to do is have a sliding effect on open/close.

    Is this possible to do?

    Thanks in advance.
  • Nitinkcv
    New Member
    • Mar 2007
    • 65

    #2
    Sorry guys. Should have googled first.

    Found something here

    However do let me know If anyone knows a better approach.

    Thanks.

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #3
      maybe this is worth a read too (though it focuses on another subject, but it seems to use some techniques you may want.)

      regards

      PS: yes, google is your friend

      Comment

      Working...