Hi , I have a web page thats working fine . I am trying to make it look prettier with joomla and things are acting up . This question is a basic javascript question , tried the answers i got from google but it didnt help .
The problem is , in my main page http://testing.chennaiemergency.co.in/index.php/search-page.html I have loaded the google maps API key using <script src="http://maps.google.com/maps? file=api&v=2.x&key=ABQIA....... as well as another javascript file where all the functions that I have written are stored <script src="http://chennaiemergency.co.in/testing/function.js" type="text/javascript"> Now I need to embed the key in the function.js file as well , but am getting some errors . Mostly because I dont think am doing it right . Before I had put <script src="http://maps.google.com/maps? file=api&v=2.x&key=ABQIA....... in my function.js file and it wasnt working . After reading about this on the internet I put document.write('<scr'+'ipt type="text\/javascript" src="http:\/\/ maps.google.com\/maps?file=api&v=2.x&key=ABQIA.......... but its still not working . So anyone have any ideas ? Links : Working Page : http://testing.chennaiemergency.co.in/search_page.php Not working Page : http://testing.chennaiemergency.co.in/index.php/search-page.html function.js : http://www.chennaiemergency.co.in/testing/function.js --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
