If you were here I would hug you, I GOT IT!!!!!!!!!!!!!!!!!!!! MUAHAHAHHAHA! Pew! now that thats out of my system!
I figured it was best to start from scratch since I had myself totally confused. I started with your original code tried adding the adsense code to that, took me about 3 times but I GOT IT! your awsome! Thank you! It was worth it even though im now getting crap from the girlfriend who tells me we should have left hours ago. Yep still worth it... Now all I need is to fix the zoom thing...when the bar searches it zooms back out from street level. I have the initial zoom set on 16, is there a specific place where i can set the googlebar zoom? Take Care Jeremy On Oct 8, 9:31 pm, Spacecadet <[email protected]> wrote: > Ah yes one last thing, i understand what you said about the initilize > () but I olny see one comppand in the Javascript the other one is in > html, same thing? > > On Oct 8, 9:29 pm, Spacecadet <[email protected]> wrote: > > > > > I still havent completely figured this out but I hope I am getting > > closer. Thank you for all the help and advice, I'm leaving for 3 days > > for canadian thanksgiving and I will take my laptop with me and keep > > on this. I tried playing with it but keep running into the problem > > that i dont know where to put the adsence code and when i do put it in > > i get a grey page because i have duplicate lines and dont know what to > > remove, i simply do not understand enough about Javascript. I think > > maybe i will get a good book and do some reading on it ehehhe. Ah well > > I'll check back in a few days. Thank you for everything, you have been > > more than patient. > > > Jeremy > > > On Oct 8, 4:28 pm, Rossko <[email protected]> wrote: > > > > > Sorry about that but you have to understand I have been on this for 3 > > > > days and my patience ran out. > > > > No-one said the maps API was easy. If you overreach, if you hurry > > > blindly, you will fail. You can learn how to get to your goals or > > > hope someone else will do it for you. > > > > > One thing at a time right? :) > > > > Exactly. > > > > > I have the adsence and adsencebar working on my old map but im having > > > > trouble getting it to work in your code, any ideas? > > > > Yes. Take a look at your new test page, a good look. > > > There are two functions called initialize() > > > You're only allowed one, else the browser won't know which one to run. > > > This is basic in just about any programming, not just javascript, and > > > isn't a maps issue at all. > > > Try to understand what the code does rather than just copy-paste > > > chunks and progress will be quicker. > > > > In this case you probably want to bin the first initialize() > > > altogether, the whole section. > > > The second one is doing what you want with the Googlebar, so keep that > > > one. > > > > However, the first one has the code you want for adsense. You need to > > > copy that to the second initialize() after the other stuff. See if > > > you can work out which is the adsense code, there's not much else in > > > there. > > > You can always look at the the documentation > > > toohttp://code.google.com/apis/maps/documentation/services.html#Advertis...Hide > > > quoted text - > > > - Show quoted text -- 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 -~----------~----~----~----~------~----~------~--~---
