That's Doctor Awesome to you!


BrettBits > Java and Javascript Programs > HTML5 Geolocation Example

HTML5 Geolocation Example






Click the button below. Your web browser will then ask you for permission to determine your location.







To use this Javascript for your own, copy the contents of the textbox below, and paste them into a text editor. Then, save the contents as a .htm or .html file. The JavaScript is now yours! Please ensure you give me proper credit if you repost it somewhere else.

Javascript Source Code




Alternatively, you can download the source .html file itself by right-clicking on the Download button below, and click "Save Target As..." or "Save Link As...":

Download HTML5 Geolocation Example


Share This Page!

Digg this!Add to Del.icio.usAdd to StumbleUponAdd to Facebook Profile
 




Subscribe to RSS feed