Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Can anyone recognise the error?

Comments

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


    which IE? 5.5, 6 or 7


  • Registered Users, Registered Users 2 Posts: 3,507 ✭✭✭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, Registered Users 2 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, Registered Users 2 Posts: 3,507 ✭✭✭randombar


    Ah jesus what am I up to?

    Thanks a lot lads!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 3,507 ✭✭✭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
Advertisement