SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist
    Join Date
    Oct 2005
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Google Map IE Problem

    My Google Map doesn't seem to want to work in IE and i keep gettting a JavaScript error which i can't get rid off however in FF it works fine. Any ideas?

    http://logtek.creativebubbles.co.uk/equipment-washing/

    Cheers

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta name="keywords" content=" Logtek, Linpac, Returnable Transit Packaging, RTP, Equipment Rental, Logistic Support Services, Asset Management, Tray, Dolav, pallet, Rental, Washing, RFID, Returnable, Packaging, Tracking, Container">
    <meta name="description" content="Logtek is the international logistic services division of the 1 billion pound LINPAC group, providing management solutions for Returnable Transit Packaging (RTP). Core business services include Equipment Rental, Logistic Support Services and Asset Management" />
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta name="author" content="Logteks website designed &amp; developed in partnership with Creative Bubbles Web Design Agency Nottingham : http://www.creativebubbles.co.uk" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAJjF-3JEZeDPMPXpijyXL_hRjgydFx2o2ytIorMFabqAQI2i0qxRRy7MwlZJWBn55NeT8bY6PupDulA"
          type="text/javascript"></script>
        <script type="text/javascript">
        //<![CDATA[
        function load() {
          if (GBrowserIsCompatible()) {
    	    var geocoder = new GClientGeocoder();
    		var geocoder2 = new GClientGeocoder();
    		var geocoder3 = new GClientGeocoder();
    		var geocoder4 = new GClientGeocoder();
    		var geocoder5 = new GClientGeocoder();
    		var geocoder6 = new GClientGeocoder();
    		var geocoder7 = new GClientGeocoder();
    
            map = new GMap2(document.getElementById("map"));
    		geocoder.getLatLng("Savoy Road, Crewe, Cheshire CW1 5AW", centerMapCallback);
    		geocoder2.getLatLng("Pitreavie Drive,  Dunfermline, Fife KY11 8PU" , centerMapCallback2);
    		geocoder3.getLatLng("Elton Head Road, St Helens, Merseyside WA9 5AX" , centerMapCallback3);
    		geocoder4.getLatLng("Gorsey Lane, Coleshill B46 1JU" , centerMapCallback4);
    		geocoder5.getLatLng("Off Bourne Road, Pode Hole Spalding PE11 3NA" , centerMapCallback5);
    		geocoder6.getLatLng("Ashchurch Parkway, Tewkesbury, Gloucestershire GL20 8TU" , centerMapCallback6);
    		geocoder7.getLatLng("Taunton Road, Bridgwater, Somerset TA6 6PS" , centerMapCallback7);
    
          }
        }
    	
    	function centerMapCallback(returnedPoint) {
    		//map.setCenter(returnedPoint, 14);
    		var marker = new GMarker(returnedPoint);
    		map.setCenter(returnedPoint, 5);
    		map.addOverlay(marker);
    		GEvent.addListener(marker, "click", function() {
    			marker.openInfoWindowHtml("<div><p><strong>Gorsey Lane<br />Coleshill<br /> B46 1JU</strong></p></div>");
    			} );
    		}
    		
    	function centerMapCallback2(returnedPoint) {
    		//map.setCenter(returnedPoint, 14);
    		var marker = new GMarker(returnedPoint);
    		map.addOverlay(marker);
    		GEvent.addListener(marker, "click", function() {
    			marker.openInfoWindowHtml("<div><p><strong>dfdsffsdf</strong></p></div>");
    			} );
    		}
    		
    	function centerMapCallback3(returnedPoint) {
    		//map.setCenter(returnedPoint, 14);
    		var marker = new GMarker(returnedPoint);
    		map.addOverlay(marker);
    		GEvent.addListener(marker, "click", function() {
    			marker.openInfoWindowHtml("<div><p><strong>dfdsffsdf</strong></p></div>");
    			} );
    		}
    		
    	function centerMapCallback4(returnedPoint) {
    		//map.setCenter(returnedPoint, 14);
    		var marker = new GMarker(returnedPoint);
    		map.addOverlay(marker);
    		GEvent.addListener(marker, "click", function() {
    			marker.openInfoWindowHtml("<div><p><strong>dfdsffsdf</strong></p></div>");
    			} );
    		}
    		
    	function centerMapCallback5(returnedPoint) {
    		//map.setCenter(returnedPoint, 14);
    		var marker = new GMarker(returnedPoint);
    		map.addOverlay(marker);
    		GEvent.addListener(marker, "click", function() {
    			marker.openInfoWindowHtml("<div><p><strong>dfdsffsdf</strong></p></div>");
    			} );
    		}
    		
    	function centerMapCallback6(returnedPoint) {
    		//map.setCenter(returnedPoint, 14);
    		var marker = new GMarker(returnedPoint);
    		map.addOverlay(marker);
    		GEvent.addListener(marker, "click", function() {
    			marker.openInfoWindowHtml("<div><p><strong>dfdsffsdf</strong></p></div>");
    			} );
    		}
    		
    	function centerMapCallback7(returnedPoint) {
    		//map.setCenter(returnedPoint, 14);
    		var marker = new GMarker(returnedPoint);
    		map.addOverlay(marker);
    		GEvent.addListener(marker, "click", function() {
    			marker.openInfoWindowHtml("<div><p><strong>dfdsffsdf</strong></p></div>");
    			} );
    		}
    		
        //]]>
        </script>
    <title>Linpac : Logtek : Equipment Washing</title>
    <!-- InstanceEndEditable -->
    <link href="../css/base.css" rel="stylesheet" type="text/css" />
        <link href="../css/front.css" rel="stylesheet" type="text/css" />
        <link href="../css/logtek.css" rel="stylesheet" type="text/css"/>
        <link href="../css/print.css" rel="stylesheet" type="text/css" media="print" />
        <script src="../js/script.alicio.us/lib/prototype.js" type="text/javascript"></script>
        <script src="../js/script.alicio.us/src/scriptaculous.js" type="text/javascript"></script>
        <script src="../js/common.js" type="text/javascript"></script>
        <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
    </head>
    <body class="logtek" onload="load()" onunload="GUnload()">
        <div class="outsideContainer">
            <!--top centred section with Quicklaunch, main nav and advert -->
            <div class="centredInnerContainer">
                <!--Main Logo and Navigation Bar -->
                <div id="logoLeftBar">
                    <a href="http://www.linpac.com">
                        <img src="../images/linpac-logo.gif" alt="LINPAC Home" width="115" height="76" border="0" id="linpac-logo" /></a>
                    <div id="logoLeftBarLinkContainer">
                        <ul>
                            <li id="nav-aboutlinpac" class=""><a href="http://www.linpac.com/aboutlinpac_508.html" accesskey="1" title="Information about LINPAC (Accesss Key: 1)">About LINPAC<span></span></a></li>
                            <li id="nav-ourdivisions" class=""><a href="http://www.linpac.com/ourdivisions_509.html" accesskey="2" title="Our Divisions (Access Key: 2)">Our Divisions<span></span></a></li>
                            <li id="nav-csr" class=""><a href="http://www.linpac.com/corporatesocialresponsibility_520.html" accesskey="3" title="CSR (Access Key:3)">CSR<span></span></a></li>
                            <li id="nav-newsroom" class=""><a href="http://www.linpac.com/newsroom_525.html" accesskey="4" title="Newsroom (Access Key:4)">Newsroom<span></span></a></li>
                            <li id="nav-careers" class=""><a href="http://www.linpac.com/careers_528.html" accesskey="5" title="Careers (Access Key:5)">Careers<span></span></a></li>
                            <li id="nav-contactus" class=""><a href="http://www.linpac.com/whereweare_533.html" accesskey="6" title="Contact Us (Access Key:6)">Contact Us<span></span></a></li>
                        </ul>
                    </div>
              </div>
                <!-- End of Main Logo and Navigation Bar -->
                <!--Quick Launch bar -->
                <div id="quickLaunchContainer">
                    <div id="quickLaunchHeading">
                        Quick Launch</div>
                    <form method="get" name="quicklinks" action="#">
    					<label for="selectDivision">
                        <select id="selectDivision" onchange="return selectRedirect(this);">
                            <option value="">Select division</option>
                            <option value="http://www.linpac.com/linpacallibert_515.html">LINPAC Allibert</option>
                            <option value="http://www.linpac.com/linpacindustrial_519.html">LINPAC Industrial</option>
                            <option value="http://www.linpac.com/linpacplastics_516.html">LINPAC Plastics</option>
                            <option value="http://www.linpac.com/ropak_517.html">Ropak Packaging</option>
                            <option value="http://www.linpac.com/viscount_518.html">Viscount Plastics</option>
                        </select>
    					</label>
                        <input type="image" alt="Go" src="../images/go-button.gif" id="divisionButton" onclick="return selectRedirect($('selectDivision'));" />
    					
    					<label for="selectCompany">
                        <select id="selectCompany" onchange="return selectRedirect(this);">
                            <option value="">Select Service</option>
                            <option value="" class="optgroup">LINPAC Allibert</option>
                            <option value="http://www.lmhglobal.com/ ">Returnable transit products</option>
                            <option value="http://www.logtek.com/">Supply chain services</option>
                            <option value="http://www.intellident.co.uk/en/3.00/default.php">Tracking solutions</option>
                            <option value="" class="optgroup">LINPAC Industrial</option>
                            <option value="http://www.linpacstorage.com/">Storage &amp; Racking systems</option>
                            <option value="http://www.linpac-environmental.com/">Street furniture</option>
                            <option value="" class="optgroup">LINPAC Plastics</option>
                             <option value="http://www.linpac-plastics.com/">Food Packaging</option>
                           <option value="http://www.linpacplastics.com/products/index.cfm?c=2">Films</option>
                            <option value="http://www.linpac-recycling.co.uk/">Recycling</option>
                            <option value="http://www.linpacplastics.com/products/index.cfm?c=8">Tableware</option>
                            <option value="" class="optgroup">Ropak</option>
                            <option value="http://www.ropakcorp.com/">Plastic pails &amp; containers</option>
                            <option value="" class="optgroup">Viscount</option>
                            <option value="http://www.viscount.com.au/products_and_services/industrial-retail-custom_moulding/products/outdoor-furniture.php">Garden furniture</option>
                            <option value="http://www.viscount.com.au/products_and_services/industrial-retail-custom_moulding/retail.php">Industrial, retail &amp; custom moulding</option>
                            <option value="http://www.viscount.com.au/products_and_services/blow_moulding/blow-moulding.php">Plastics bottles</option>
                            <option value="http://www.viscount.com.au/products_and_services/materials_handling/materials-handling.php">Returnable Transit products</option>
                            <option value="http://www.viscount.com.au/products_and_services/packaging/packaging.php">Rigid plastic packaging</option>
                        </select>
    				    </label>
    
                        <input type="image" alt="Go" src="../images/go-button.gif" id="companyButton" onclick="return selectRedirect($('selectCompany'), false);"  />
                    </form>
                </div>
                <!--End of Quick Launch Bar -->
                <!-- Large Banner Image -->
                <div id="bannerImage">
                    <img src="../images/home-05.jpg" alt="Logtek : design and manufacture returnable transit packaging and offer supply chain support services" name="ri" width="535" height="145" />            </div>
                <!-- End of Large Banner Image -->
            </div>
            <!-- end of top section -->
            <!-- middle info nav bar -->
            <div class="centreMenuBackground">
            </div>
            <!-- end of info nav bar -->
            <!-- main content section with info nav bar at the top -->
            <div class="mainContainer">
                <!--page centred menu bar items -->
                <div class="salesHotline"><a href="#">Contact Our Sales Team on 0121 607 6748</a></div>
          </div>
    </div>
            <!-- InstanceBeginEditable name="middle-editable-section" -->
            <div class="mainContainer">
              <!--page content goes here -->
              <div id="leftCol">
                <div class="navigation">
                  <div class="navigationHeader"><img src="../images/menu-top.jpg" width="181" height="86" alt="image of two men packing boxes" /></div>
                  <div class="navigationItem">
                    <p><a href="/" title="Logtek Home"> Logtek Home</a></p>
                  </div>
                  <div class="navigationItem">
                    <p><a href="../asset-management/index.html" title="information about Logteks returnable transit packaging">Asset Management </a></p>
                  </div>
                  <div class="navigationItem">
                    <p><a href="../rental-services" title="information about Logteks rental services">Rental Services </a></p>
                  </div>
                  <div class="navigationItem">
                    <p><a href="./" title="information about Logteks support services">Equipment Washing </a></p>
                  </div>
                  <div class="navigationItem">
                    <p><a href="../support-services" title="information and contact details for Logteks service centers">Other Equipment Solutions</a></p>
                  </div>
                 
    			   <div class="navigationItem">
                    <p><a href="../news" title="latest company news from Logtek?">Logtek News</a></p>
                  </div>
                  <div class="navigationItemBottom">
                    <p><a href="index.html" title="contact a member of our team">Contact Logtek</a></p>
                  </div>
                </div>
              </div>
              <div id="centerCol">
                <div class="breadcrumbs"> <a href="/">Home</a> &gt; <a href="index.html" class="breadcrumbsItemOver" title="want to know about Logtek?">Equipment Washing  </a> </div>
                <div id="centerContent">
                  <p class="mainTitle">Equipment Washing </p>
               	  
    			  <div id="map" style="width: 450px; height: 300px"></div>
    
                  <p class="subHeadingRed">&nbsp;</p>
                  <p class="subHeadingRed">Intrested in Using Logtek's Services? </p>
                  <p>Are you intrested in using our services for your business? Are you unsure what you actually require? For helpful friendly adivce you can contact our sales team on <strong>+44 (0)1675 469060</strong> or email <a href="#">uksales@logtek.com</a>.</p>
                </div>
              </div>
              <div id="rightCol">
                <div class="salesBox"><img src="../images/sales-boxes/sales-01.jpg" width="202" height="136" alt="helpline number 01675 469060 " /></div>
                <div class="salesBox"><img src="../images/sales-boxes/sales-02.jpg" width="202" height="136" alt="find out information about our supprt service on 01675 46900" /></div>
              </div>
            </div>
            <!-- InstanceEndEditable -->
            <div class="outsideContainer">
            <!-- end of main content section -->
            <!-- bottom copper bar acrross page -->
            <div id="bottomBackgroundBar">
                &nbsp;
            </div>
            <!-- end of bottom copper bar -->
            <!-- bottom links and legal -->
            <div class="footerCentredInnerContainer">
                <div id="bottomLinks">
                    <a href="http://www.linpac.com/" title="LINPAC Home (Access Key: 4)" accesskey="4">LINPAC Home</a> |  <a href="http://www.linpac.com/whereweare_533.html" title="Contact Info (Access Key: 5)" accesskey="5">Contact Info</a> |  <a href="http://www.linpac.com/newsroom_525.html" title="News (Access Key: 6)" accesskey="6">News</a> |
                </div>
                <div id="bottomDisclaimer">
                    LINPAC Group, Registered Office: 3180 Park Square, Birmingham Business Park, Birmingham, B37 7YN UK<br />
                    &copy; Copyright 2005 LINPAC Group Limited. Registered in England, Company Number 4792926. All rights reserved.
                </div>
            </div>
            <!-- end of bottom links and legal -->
        </div>
       
    </body>
    <!-- InstanceEnd --></html>

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check out the Google Maps API discussions.

  3. #3
    SitePoint Zealot
    Join Date
    Sep 2007
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    right here:
    HTML Code:
    <script type="text/javascript">
        //<![CDATA[
        function load() {
    do this:
    HTML Code:
    <script type="text/javascript">
        //<![CDATA[
        var map;
        function load() {


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
  •