Link to home
Start Free TrialLog in
Avatar of ddantes
ddantesFlag for United States of America

asked on

Page works on server but not on local disc

I have a page with an API Google Map at www.mauivacationrental.com/test.htm  I'd like to be able to edit this page on my local disc, but it won't load.   There is a script in the <HEAD> which includes this code:
src="//maps.google.com/maps/api/js?sensor=false"

If I add "http:" or "https:" before the double-slash, the page will load from local disc, but the Google Map will not appear.

Editing the page is difficult without access from local disc, because I need to upload every change in order to evaluate it.
SOLUTION
Avatar of Patrick Bogers
Patrick Bogers
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ddantes

ASKER

Solved by downloading the Google js and invoking the script on local drive, instead of through a URL.