25.02.2013 Views

Peter Lubbers - Pro HTML 5 Programming

Pro HTML 5 Programming

Pro HTML 5 Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

274<br />

■ INDEX<br />

Web SQL database support in, 235, 236<br />

WebSockets support in, 146<br />

Web Storage support in, 214<br />

Web Workers support in, 194<br />

video support in, 69<br />

XMLHttpRequest support in, 129<br />

viewing offline cache in, 245<br />

Flash video, 70<br />

Flow content type, 10<br />

form validationm 180–185<br />

passwords, 190–191<br />

turning off, 185<br />

validation feedback, 184–185<br />

validation fields and functions, 183–184<br />

validity constraints, 181–183<br />

ValidityState object, 180–181<br />

element, 169<br />

Forms API, 169–191<br />

autocomplete attribute, 177<br />

autofocus attribute, 177–178<br />

browser support, 170–171<br />

building application with, 185–191<br />

controls, 169<br />

datalist element, 178<br />

form validation, 180–185<br />

functional behavior, 170<br />

list attribute, 178<br />

max attribute, 178<br />

min attribute, 178<br />

new attributes and functions, 176–179<br />

new elements in, 171–175<br />

new functionality, 170<br />

overview, 169–174<br />

placeholder attribute, 176<br />

required attribute, 179<br />

step attribute, 179<br />

using, 176–185<br />

valueAsNumber function, 179<br />

vs. XForms, 170<br />

framebusting, 135<br />

frameHeight variable, 79<br />

frameWidth variable, 79<br />

full-screen video, 68<br />

functional forms, 170<br />

■ G<br />

Geolocation API, 87–114<br />

browser support for, 91–92, 95<br />

building application with, 101–110<br />

code sample, 108–110<br />

processing geolocation data, 104–<br />

107<br />

writing <strong>HTML</strong> display, 104<br />

Google Maps and, 113–114<br />

location information, 87–91<br />

location tracker application and, 162<br />

position requests, 96–101<br />

privacy and, 92–95<br />

request attributes, optional, 99–100<br />

status bar, 111–112<br />

tracking code 255

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!