Solved

Page works on server but not on local disc

Posted on 2014-03-14
3
360 Views
Last Modified: 2014-03-15
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.
0
Comment
Question by:ddantes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 23

Assisted Solution

by:Patrick Bogers
Patrick Bogers earned 125 total points
ID: 39931173
What if you open the page locally with e.g. Google Chrome and deverloper tools open?
It should give you some error which might help you further.
0
 
LVL 58

Accepted Solution

by:
Gary earned 125 total points
ID: 39931363
How are you loading it from local disk?
http://localhost

or as I suspect
file///c:/drive.
0
 

Author Comment

by:ddantes
ID: 39931550
Solved by downloading the Google js and invoking the script on local drive, instead of through a URL.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with mod_substitute 18 80
Hide and Unhide Table 6 42
Ajax on ASP 2 68
Diff of the day 2 43
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
A professional opinion on which Apple product to buy, and a tidbit about the WWDC.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question