Results 1 to 3 of 3

Thread: Animated Collapsible DIV and IE

  1. #1
    Join Date
    Nov 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Animated Collapsible DIV and IE

    1) Script Title: Animated Collapsible DIV

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex...edcollapse.htm

    3) Describe problem:

    The div, as seen on the page attached, is not working in IE6. The div that is shown when the page loads doesn't properly collapse, and the one below it just sort of slides on top of it, leaving the first div visible underneath. I changed the DOCTYPE line several different times after reading different posts with no success. Any ideas?

    Thanks.
    Last edited by atomique; 03-11-2008 at 04:56 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm looking at your index.html source, my guess is one of the DIVs aren't properly closed with a </div> tag, causing the erratic behavior in IE. Try double checking everything to make sure the container relationship in your HTML is valid.

  3. #3
    Join Date
    Nov 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi there -

    It passed the validator. I have it working on another page, the only different factors are 1) none of the DIVs are displayed on page load and 2) the DIVs immediately follow the link that makes them expand/collapse and 3) the one that's not collapsing has other DIVs inside of it. I've tried changing the first two with no success. Maybe I can't have other DIVs inside the DIV that slides?

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
  •