Results 1 to 6 of 6

Thread: Ghost menu in IE

  1. #1
    Join Date
    Sep 2011
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Ghost menu in IE

    1) Script Title:
    Flexmenu
    2) Script URL (on DD):
    (http://www.dynamicdrive.com/dynamici...exdropdown.htm
    3) Describe problem:

    OK on my site http://www.dacc.edu/orientations/videos.php
    when you view it in FF it is fine, but in IE you get a "ghost" menu at first. If you mouse off then mouse on again it is gone. It seems to be calling another script or something but I can't figure out where.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I'm not seeing it in IE 9 or 8. Was that the exact page or do I have to navigate elsewhere to see it? I did see one drop down on that page.

    In any case, you might want to try a standards invoking DOCTYPE. To do so, change:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    to:

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

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2011
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    I'm not seeing it in IE 9 or 8. Was that the exact page or do I have to navigate elsewhere to see it? I did see one drop down on that page.

    In any case, you might want to try a standards invoking DOCTYPE. To do so, change:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    to:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    I will try changing the doctype but yes that is the exact page if you hove over Orientation videos then go down to Blackboard Training Course, that is when it happens, but only on the initial load.

  4. #4
    Join Date
    Sep 2011
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    IT worked! I had been going over my code thinking that there had to be some crazy remnant left of something else!
    Last edited by Inky1231; 10-19-2011 at 07:22 PM.

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Just by way of explanation, if the DOCTYPE doesn't invoke standards, IE often will render in an unexpected way. Other browsers pretty much follow standards even when they're not explicitly called for by the DOCTYPE.

    It's a little more complicated than that, but as a general sort of 'rule of thumb' it often holds true, especially where jQuery based scripts are involved.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Sep 2011
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    John,
    I really appreciate the assistance. All of my coding skills are pretty much self-taught (except PHP) so sometimes it gets the better of me especially when trying to do things I have never done before. Been trying to get the DACC website fancied up a bit and it is a slow process and these glitches just slow me down a bit more

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
  •