Results 1 to 3 of 3

Thread: Image w/ description tooltip v2.0 no image in IE

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

    Default Image w/ description tooltip v2.0 no image in IE

    1) Script Title: Image w/ description tooltip v2.0

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex4/imagetooltip.htm

    3) Describe problem: I don't know If I am having a problem integrating this script into my site, but I see the only problem is in IE8 because I tested it in FF3 and Google Chrome and it work great. I don't know what is happening in IE. My question is if this script works with IE or the problem is me?

    I posted a link bellow where is the script. You can test it in IE and FF and you will see that it only work in FF and no in IE.

    TEST: http://www.des-arcades.com/nl/plattegrond.html
    Thank you in advanced...

  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

    Get rid of this (around line #154):

    Code:
    <script defer type="text/javascript" src="/templates/mijntemplate/js/pngfix.js"></script>
    From IE 7 on, png no longer needs to be fixed. Alternatively, if you still want the page to look good in IE 6, you could convert:

    plandesarcades_2011.png

    to a .gif or .jpg image. You probably should anyway, it would require far fewer bytes. But you should then make the above script call like so:

    Code:
    <!--[if lt IE 7]>
    	<script defer type="text/javascript" src="/templates/mijntemplate/js/pngfix.js"></script>
    <![endif]-->
    There could still be other problems with that approach. But removing:

    Code:
    <script defer type="text/javascript" src="/templates/mijntemplate/js/pngfix.js"></script>
    altogether will be good for IE 7+, IE6 should be OK, with perhaps some rendering issues on some of your png images.

    IE 6 usage is fading though and fading fast. It's already into the single digits as a percent of browsers used to view web pages. It's probably even below 5% by now.

    Added Later:

    I just tested in IE 6, and there are other problems, even as the live page is currently setup. The image map lays out way down the page. There could be other issues in IE 6.

    So I'd either skip IE 6 and that pngfix script, or fix the layout in IE 6 before worrying about using the pngfix script.
    Last edited by jscheuer1; 05-19-2011 at 01:15 AM.
    - John
    ________________________

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

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

    Default

    I have convert plandesarcades_2011.png to a .jpg image and it work fine.

    Thank you.

    Henkkey

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
  •