We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25322
    • 78 Posts
    Hi
    Not specifically a modx problem but I am redesigning and coding the site in xhtml/css and integrating modx as the cms next month and people on this forum are really helpful and nice grin. The site how it is right now has been built by somebody else but they are having trouble with their contact page. A designer has placed a googlemap on this page for them and It isn’t loading at all in Internet Explorer 6 or 7 but works in Firefox, Safari etc.... They have asked me to try fix this while they wait for to start work on redesign next month but I can’t see the problem. I am guessing its the javascript but can’t see it. Appreciate if anyone can have a look at the source and can see the problem.

    http://www.mccallsoflisburn.com/contact_us.html
    <HTML>
    <HEAD>
    <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <TITLE>McCalls of Lisburn</TITLE>
    <link href="styles.css" rel="stylesheet" type="text/css">
    <script language="JavaScript" type="text/JavaScript">
    <!--



    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    //-->
    </script>
    </HEAD>
    <BODY bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#000066">
    <tr>
    <td align="center" valign="top">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
    <tr>
    <td width="766" height="120" bgcolor="#000066"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="750" height="120">

    <param name="movie" value="site_flash/mccalls_header.swf">
    <param name="quality" value="high">
    <param name="BGCOLOR" value="#000066">
    <embed src="site_flash/mccalls_header.swf" width="750" height="120" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#000066"></embed></object>
    </td>
    </tr>
    <tr>
    <td height="23" align="center" valign="top" background="site_images/topbg.gif" bgcolor="#A0A0A4"><a href="index.html"><img src="site_images/home.gif" width="126" height="23" border="0"></a><a href="about_us.html"><img src="site_images/about_us.gif" width="126" height="23" border="0"></a><a href="services.html"><img src="site_images/services.gif" width="126" height="23" border="0"></a><a href="products.html"><img src="site_images/products.gif" width="126" height="23" border="0"></a><a href="special_offers.html"><img src="site_images/links.gif" width="126" height="23" border="0"></a><a href="contact_us.html"><img src="site_images/contact_us.gif" width="126" height="23" border="0"></a></td>
    </tr>
    <tr>
    <td align="center" bgcolor="#A0A0A4"> <table width="100%" height="100%" border="0" cellpadding="5" cellspacing="0">

    <tr>
    <td width="50%" align="center" class="maintext"> <table width="450" border="0" cellpadding="0" cellspacing="0" id="text">
    <tr>
    <td><p class="maintext"><img src="site_images/contact_h.gif" width="207" height="18"></p>
    <p class="maintext"><strong>Email:</strong> <a href="mailto:[email protected]">[email protected]</a></p>
    <p class="maintext"><strong>Telephone:</strong> (028)
    9267 5111</p>

    <p class="maintext"><strong>Fax:</strong> (028) 9266 0894</p>
    <p class="maintext"><strong>Address:</strong>

    20/24 Market Street

    Lisburn

    Co Antrim


    BT28 1AB</p>
    <p class="maintext"><strong>OPENING HOURS</strong>

    These are our standard weekly opening hours. Please
    check for special opening/closing times during holiday
    periods </p>
    <p class="maintext">Monday – Saturday 9.00 am –
    5.30 pm </p>
    <p class="maintext">Thursday 9.00 am – 9.00 pm (Late
    Night) </p>

    <p class="maintext">Sunday Closed</p>
    </td>
    </tr>
    </table></td>
    <td width="50%" align="center" valign="middle"><table width="450" border="0" cellpadding="0" cellspacing="0" id="text">
    <tr>
    <td><p class="maintext">&nbsp;</p>
    <table width="450" border="0" cellpadding="0" cellspacing="0" id="text">
    <tr>
    <td><p class="maintext">Our stores are located in
    Market Street Lisburn:


    <strong>1</strong> Mens 20-24 Market Street

    <strong>2</strong> Outer Active 7-11 Market Street


    <strong>3</strong> Boys &amp; School 13-15 Market
    Street </p>

    <p class="maintext">From the M1 Motorway come off
    at the Saintfield Road Junction and head towards
    Lisburn Town Centre. Over the Union Bridge and
    follow the signs for the town centre. Pass the
    health centre and library on your right, our main
    store is on the corner of Market Street almost
    opposite the Post Office.</p>
    <p class="maintext">Easy parking is available in
    Linenhall Street (opposite the health centre)
    or Market Place (beside the Bus station). See

    the map below.</p>
    <P>
    <center>
    <script src="http://maps.google.com/maps?file=api&v=1&key=ABQIAAAADJ56_4Q_juGxskmWj9xWexT75iAIsg3IEimkxZhlxDIaNr962RQA_64HHpPrCtaaYI5jTHznZCGmdg" type="text/javascript"></script>
    </head>
    <body>
    <div id="map" style="width: 400px; height: 350px"></div>

    <script type="text/javascript">
    //<![CDATA[

    var map = new GMap(document.getElementById("map"));
    map.addControl(new GLargeMapControl());
    map.addControl(new GMapTypeControl());
    map.addControl(new GScaleControl());
    map.centerAndZoom(new GPoint(-6.045313, 54.510145), 2);
    map.openInfoWindowHtml(map.getCenter(),"McCalls, 20-24 Market St, Lisburn")

    //]]>
    </script>
    </center>
    </p>
    </td>
    </tr>
    </table>
    <p class="maintext">&nbsp;</p>
    </td>
    </tr>

    </table> </td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td valign="top" bgcolor="#000066"> <table width="100%" border="0" cellpadding="0" cellspacing="0" background="site_images/low_bg.gif">
    <tr>
    <td width="50%" valign="middle"><span class="subtext"><strong><img src="site_images/low_bg.gif" width="14" height="25" align="absmiddle">&nbsp;</strong></span><span class="whitetext"><strong>Telephone:</strong>
    (028) 9267 5111 &nbsp;<strong>Email:</strong></span> <a href="</a></td>

    <td align="right" valign="middle"><span class="whitetext"><strong>Site
    By <img src="site_images/websol.gif" width="16" height="16" align="absmiddle"></strong></span>
    <a href=" target="_blank">
    </a>&nbsp;<img src="site_images/low_bg.gif" width="14" height="25" align="absmiddle"></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <div align="center"></div></td>
    </tr>

    </table>
    </BODY>
    </HTML>

    thanks..
      • 10487 MODX Staff
      • 1,535 Posts
      Take the duplicated </head> and <body> tags out from just below where the Google JS call is made - that certainly can’t be helping matters.
        Garry Nutting
        Senior Developer
        MODX, LLC

        Email: [email protected]
        Twitter: @garryn
        Web: modx.com
        • 25322
        • 78 Posts
        christ. I must be blind I didn’t see that. I will see if that works. cheers