From the course: HTML5: Geolocation

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

About the JavaScript library

About the JavaScript library - HTML Tutorial

From the course: HTML5: Geolocation

Start my 1-month free trial

About the JavaScript library

The exercise files for this course includes a small JavaScript library called bwH5.js. This is used in a number of my HTML5 application technology courses in order to keep the examples simple and uncluttered and to better focus on the topic that you are learning. It's not a very large library, and it has just a few very simple things. You'll notice also that it has a version number at the top. Please use the version that accompanies this course. There's no need to use the latest version, even though I will make every effort to make them backwards compatible. You'll find a few global variables at the top, including one called element that's a reference to an anonymous function. This is just a shortcut that I use for document.getElementById. I just find it easier to type. There are a few functions for testing whether certain HTML5 APIs exist and are supported by this browser. There's a simple display error and display status message functions, and then there is the bwTable class. This…

Contents