> On Aug 28, 12:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
> > On Aug 27, 10:00 pm, daniel <[EMAIL PROTECTED]> wrote:
>
> > > I saw the setCenter right after a clicked submit. Always happens that
> > > way.
>
> > > here is a link to my current map.http://dajohnson1s.dvrdns.org
>
> > > i am wanting to add a button/tab not sure yet that will call a
> > > function.
>
> > >         // ==Relocate Function ==
> > >         relocate(){
> > >                 var currentPoint = new GLatLng(37.296443,-89.521741);
>
> > >                 map.panTo(currentPoint);
> > >                 marker = new GMarker(currentPoint);
> > >                 map.addOverlay(marker);
>
> > >         }
>
> > > once i add this function within the ifbrowsercompatable{} the map no
> > > longer loads.
>
> > And the javascript error you get is....
>
> > on your map IE6 complains that document.getElementById(...) is null or
> > not an object on line 150.
>
> > this line:
> > document.getElementById("side_bar").innerHTML = html;
> > (there is no element side_bar)
>
> > In firefox I get:
> > Error: document.getElementById("side_bar") has no properties
> > Source File:http://dajohnson1s.dvrdns.org/
> > Line: 148
>
> > of course I don't see your code above anywhere on that page either...
On Aug 27, 10:42 pm, daniel <[EMAIL PROTECTED]> wrote:
> forgot I took out the side bar. oops.  I still seem to get the same
> result with or without the sidebar.


Well...
Error: missing ; before statement
Source File: http://dajohnson1s.dvrdns.org/
Line: 160, Column: 13
Source Code:
   relocate(){

now the code is there, but you don't know how to see the javascript
errors your code is generating...

(you are missing the "function" keyword...)

>
> > > On Aug 27, 11:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > On Aug 27, 9:15 pm, daniel <[EMAIL PROTECTED]> wrote:> Ok, I have seen 
> > > > this done, I but cannot remember where.
>
> > > > > My university has acquired an couple of buildings on the other side of
> > > > > town.  The idea is they would like to incorporate this  into the
> > > > > current map that I am making.
>
> > > > > so my idea is that I would like to have a tab/button on the page that
> > > > > will go from the main campus to this set of buildings.  (like you are
> > > > > flying there).
>
> > > > setCenter- Hide quoted text -
>
> > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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