SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2006
    0 Post(s)
    0 Thread(s)

    Make a page compatible with old version of IE

    Hi everybody.

    I have a page to show locations using Google Earth API V3, you can see this project at:

    The map works fine in all browser except versions prior to the 8 version of IE, in the recent version of IE (8 y 9) works fine, the problem is on the onLoad method in the <body> tag.

    I try to make this page compatible with old versions of IE, I did read than many people has this trouble with the onload method.

    Please, can you help me to find a way to fix this problem?

    From now, thank you for your help.


  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Melbourne, AU
    17 Post(s)
    1 Thread(s)
    On line 23 of your JavaScript you have a rouge comma at the end, in IE this causes a parsing error so simply removing it will fix the error.
    Blog/Portfolio | Evolution Xtreme | DFG Design | DFG Hosting | CSS-Tricks | Stack Overflow | Paul Irish
    Having lame problems with your code? Let us help by using a jsFiddle


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts