Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Can anyone recognise the error?

Options

Comments

  • Closed Accounts Posts: 4,655 ✭✭✭Ph3n0m


    which IE? 5.5, 6 or 7


  • Registered Users Posts: 3,401 ✭✭✭randombar


    IE6

    Bloody annoying!


  • Closed Accounts Posts: 4,655 ✭✭✭Ph3n0m


    The error is also in version 7 too :(

    <body id="page3"> - is featured twice on the page?

    The problem seems related to this part of your code
          if (GBrowserIsCompatible()) {      
            map = new GMap2(document.getElementById("editmap"));
    	map.addControl(new GLargeMapControl());
    	map.addControl(new GMapTypeControl());
    	map.addControl(new GOverviewMapControl());
    	gdir = new GDirections(map, document.getElementById("directions"));
    	GEvent.addListener(gdir, "load", onGDirectionsLoad);
    	GEvent.addListener(gdir, "error", handleErrors);
    
    	setDirections12(53.322,-6.23551,53.3222,-6.23603,53.3247,-6.24088,53.3313,-6.25179,53.3339,-6.24511,53.3359,-6.23837,53.3347,-6.24279,53.3351,-6.24699,53.3378,-6.2529,53.3382,-6.2541,53.3361,-6.25646,53.3357,-6.25646);	
          }
    
    

    when i put the code into the html, instead of external js files, IE gave out about this specific part if (GBrowserIsCompatible()) {


  • Registered Users Posts: 19,396 ✭✭✭✭Karoma


    Ie Tools -> Internet Options -> Advanced - enable script debugging, and disable Show Friendly Errors, etc. if you haven't already.

    FireFox console: http://wthax.org/images/793687161019665906549393_meherrors.gif

    You have two <body> tags... ed: As Ph3n0m pointed out.


  • Registered Users Posts: 3,401 ✭✭✭randombar


    Ah jesus what am I up to?

    Thanks a lot lads!


  • Advertisement
  • Registered Users Posts: 3,401 ✭✭✭randombar


    Karoma wrote: »
    Ie Tools -> Internet Options -> Advanced - enable script debugging, and disable Show Friendly Errors, etc. if you haven't already.

    FireFox console: http://wthax.org/images/793687161019665906549393_meherrors.gif

    You have two <body> tags... ed: As Ph3n0m pointed out.

    Lads what about all those other warnings like padding and text align?

    Thought I had it bug free?


Advertisement