Results 1 to 4 of 4

Thread: Animated Collapsible Div not showing as default, hidden without parameter

  1. #1
    Join Date
    Jan 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Animated Collapsible Div not showing as default, hidden without parameter

    1) Script Title: Animated Collapsible DIV

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

    3) Describe problem:

    I have set my collapsed div t o display:block and have not added hide=1 as a parameter. Yet, when the page first loads, it still loads as display: none first instead of display: block. I have tried removing display: block from the css as well to test but it "blips" as display: block before the script loads. Any suggestions? Should I be putting display: none in the HTML instead?

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

    Default

    Are you saying the script is hiding a DIV initially even when you have "display:block" added to the DIV, or just that the DIV "flashes" momentarily, going from "display:none" to "display:block"?
    DD Admin

  3. #3
    Join Date
    Jan 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have it set to display:block. I then flashes as if to load but then reverts to display: none. If I set it to display:none there is no flash and it is fine. However, I want it to initially show (I have emptied cache each time to make sure) however, it just flashes.

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

    Default

    Hmm can you post a link to the problem or a test page where this is happening?
    DD Admin

Similar Threads

  1. Replies: 2
    Last Post: 05-17-2010, 04:08 PM
  2. Hidden DIV default to show
    By mystic7 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 10-08-2009, 06:14 PM
  3. Animated Collapsible: Expanded by default? (solved)
    By Nacho$ in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 07-23-2009, 09:39 PM
  4. Animated Collapsible DIV - accounting for hidden content
    By Feefor in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 01-03-2008, 03:17 PM
  5. Animated Collapsible DIV - Collapsible DIVs inside collapsible DIV
    By ekin in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 09-26-2007, 02:03 AM

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
  •