Hi Pil,

thanks for the reply - did what you asked now im getting the error
missing ( expected
on th firefox error console, tried fiddling a bit but have had no joy
any ideas?

On Oct 12, 4:12 pm, "Pil (Trustworthy from Experience)"
<[email protected]> wrote:
> attachEvent() is only understood by IE.
>
> Try to replace
>
> if (window.attachEvent)) {
> window.onload = loadMap;
>
> }
>
> with
>
> window.onload = loadMap;
>
> The document is still not valid HTML. ;-(
>
> On Oct 12, 4:00 pm, CIARAN <[email protected]> wrote:
>
> > Hi folks,
>
> > once again thanks for all the help!!! ive now implemented the changes
> > from pil - the map still doesnt load.
>
> > i've replaced
>
> > if (window.attachEvent) {
> > window.attachEvent("onload", function() {
> > loadMap();   // Internet Explorer});
> > } else {
>
> > window.addEventListener("load", function() {
> > loadMap(); // Firefox and standard browsers
>
> > }, false);
> > }
>
> > with
>
> > if (window.attachEvent) {
> > window.onload = loadMap;
>
> > }
>
> > as advised before but i'm getting an invalid arguement in firefox's
> > error console any ideas??
> > url is stillhttp://www.rstsolutions.co.uk/test6.php
>
> > cheers
>
> > On Oct 12, 9:48 am, "Pil (Trustworthy from Experience)"
>
> > <[email protected]> wrote:
> > > Sorry, this is certainly a false bracket
>
> > > if (point.distanceFrom(myLocation) < 8047) {
> > >  }  document.write("<b>We Deliver To Your Area!<\/b><br>");
> > > else {
> > >    document.write("<b>We Do Not Deliver To Your Area!<\/b><br>");
>
> > > }
>
> > > Should be
>
> > > if (point.distanceFrom(myLocation) < 8047) {
> > >    document.write("<b>We Deliver To Your Area!<\/b><br>");} else {
>
> > >    document.write("<b>We Do Not Deliver To Your Area!<\/b><br>");
>
> > > }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to