Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Animated Collapsible DIV v2.4 jumping on expand and collapse

  1. #11
    Join Date
    Feb 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    Looking at the issue, I'm not sure the right approach is to "fix" something within the script. The problem occurs basically because you've added "margin-bottom" to the DIV that's being collapsed- once the DIV is fully collapsed, it essentially disappears from the page, including the margin you've defined for it. When the margin disappears, that's when the "jumping" occurs.

    Are you able to apply the margin to an element following the collapsible DIV, thus avoiding this issue?
    Hello there,

    Thanks for your time.

    In fact I had a 45px padding inside the DIV that's being collapsed. I removed this 45px padding and applied it to the element inside the DIV.

    It works!

    Cheers.

    Jk_

  2. #12
    Join Date
    Dec 2005
    Posts
    46
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    @JK:
    Glad you got yours sorted. I cant have the margin outside this div so am gonna have to try a different method.

    Just as an aside I noticed when either of your divs are open it hides the hover over description on your images.

    Sb

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •