Results 1 to 9 of 9

Thread: Glossy Accordion Menu submenu flicker on close

  1. #1
    Join Date
    Jun 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Glossy Accordion Menu submenu flicker on close

    1) Script Title: Glossy Accordion Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ubmenuheader=0

    3) Describe problem: when i toggle the menu closed, the submenus flicker as they close.

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

    Default

    Does this happen in a certain browser (such as IE)? Does your page contain a valid doctype at the very top?
    DD Admin

  3. #3
    Join Date
    Jun 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Glossy Accordion Menu submenu flicker on close

    transitional doctype
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    and this is happening in IE7; this is for our intranet so everyone is using that.

    thank you.

  4. #4
    Join Date
    Jun 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    http://www.lincolninvestment.com/mar...lumn1-2-3.html




    i posted the page here. as you can see it is a work in progress. i also notice that the colors of the main menu items don't change correclty.

    is this because i changed the css?

    thanks again

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

    Default

    The doctype needs to appear at the very top of your page in order to be recognized in IE. Right now you have a comment tag there instead:

    Code:
    <!-- column widths 168+10+20; 411+20+20; 146+20+20;130+20+10; total width 995-->
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    DD Admin

  6. #6
    Join Date
    Jun 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks. but no dice. that didn't change the main menu item from flickering when you opened another.

  7. #7
    Join Date
    Jun 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    guess what? I changed it to what you have in your code and it works!!!!

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">

    thanks so much!

  8. #8
    Join Date
    Jun 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    http://www.lincolninvestment.com/mar...e08-12-09.html

    boy, am i feeling dumb. when i use this

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

    the accordion works great. But i lose the ability to center the table. I'm so confused.

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

    Default

    How are you centering your table (ie: use of which tag or CSS property)? FYI a valid doctype will usually break non compliant HTML code, and is probably why you're experiencing issues with your page's formatting.
    DD Admin

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
  •