Results 1 to 8 of 8

Thread: HV menu and ie6 compatibility

  1. #1
    Join Date
    May 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HV menu and ie6 compatibility

    I tried ti use HV menu and I used in my page a transparent.gif and a relative position in a simple (single) page.

    Problem : It works fine with mozilla but the menu does not appear with internet explorer.

    Could someone explain me the reason or telle me if one has already met this situation.

    Thanks

  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

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.


    Please post a link to the page on your site that contains the problematic script so we can check it out.


    And please do not post in bug reports unless you encountered a problem with this script on the demo page or on a clean installation to an otherwise blank page.

    Further, HV menu is a third party script, and as such is not generally supported here.

    One thing I would check though, is to make sure that you have no open comment blocks:

    Code:
    <!--
    On your page.
    - John
    ________________________

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

  3. #3
    Join Date
    May 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HV menu and ie6

    Script download from
    http://www.dynamicdrive.com/dynamici...menu/index.htm

    Hi,

    Thank you for your interest of my question. Maybe it's a bug maybe not.
    The URL of my test is :
    http://www.flashmailing.com/index.php

    The code I put in mage :
    <table>
    <tr><td>
    <div id='MenuPos' style='position:relative; width:154; height:189;'><img src="skins/granzay_gript_s1/templates/menu_script/transparent_bleu.gif" width="154" height="189"></div>
    </td></tr>
    </table>

    And an image copy of exmplmenu_var_page.js is visible in the URL.

    The problem is quite curious. It works very well with Mozilla Firefox, but not with Internet Explorer 6 (ie6)

    If you or someone can find the problem i'll really appreciate.

    Thanks

  4. #4
    Join Date
    May 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Invisible graphics

    Your graphics are actually there but they are not visible because they are in a layer underneath your main text. I had this problem and I don't know if I did the "professional" thing, but I just set the background to "transparent" in my CSS and it works.

    see http://www.ofena.org

    Good luck!

  5. #5
    Join Date
    May 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HV menu and ie6

    Hi,

    I do not use css stylesheet in this page. It just a simple page as you can see with the code if you look at.

    Thanks for more support.

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    That is irrelevant.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    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

    You've got all sorts of problems with that page. The reason that the menu isn't working though is rather simple:

    preloadImages()

    is not defined. It also has a syntax error in its call in the body onload so FF is simply ignoring it and executing the HV menu's onload. However, IE still ran it, or tried to. This ended all javascript onload processing for the page. The easy solution -

    Change your body tag from:

    HTML Code:
    <body bgcolor="CECECE" onLoad="preloadImages('menu_script/Puces/actualites.gif','menu_script/Puces/actualites_2.gif','menu_script/Puces/contact.gif','menu_script/Puces/contact_2.gif','menu_script/Puces/liens.gif','menu_script/Puces/liens_2.gif'">
    to:

    Code:
    <body bgcolor="CECECE">
    A better fix would be to make preloadImages() available to your page and also correct the onload call to (scroll to the end to see addition in red):

    Code:
    <body bgcolor="CECECE" onLoad="preloadImages('menu_script/Puces/actualites.gif','menu_script/Puces/actualites_2.gif','menu_script/Puces/contact.gif','menu_script/Puces/contact_2.gif','menu_script/Puces/liens.gif','menu_script/Puces/liens_2.gif');">
    You also appear to be missing a swapImage() function from the page.
    - John
    ________________________

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

  8. #8
    Join Date
    May 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HV menu and ie6

    http://www.dynamicdrive.com/dynamicindex1/hvmenu/

    Hi John,

    It is working now when i removed the preloadImages. Your advice was quick and efficient.

    This was my first experience on the forum of Dynamic Drive and i really appreciate the efficiency and the response.

    Thanks to everybody. And of course in this special case to John.

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
  •