Posted 28 December 2012 - 04:50 PM
Go to Chrome > Preferences, and type "location" into the search area at the top right. Click on "Content Settings", and scroll down to the "Location" section. Make sure that "Do not allow..." is NOT checked. Make sure that "Ask me when a site..." IS checked.
Hope that helps!
IE 7 doesn't support geolocation. If you're getting a time out with FF, then you may also get a time out with Chrome, which may mean that the browser is simply unable to get any data about your location. You can try setting the timeout to a longer time (later in the chapter, we explain how to do this). Also, on page 177, you can see how to implement an error handler which might help diagnose the problem better.
Author: Head First HTML5 Programming, Head First HTML and CSS, Head First Design Patterns