HTML5
HTML5 Youtube videos not working in Google chrome
Mar 26th
This is a really quick post as i’ve been coding for a few hours and need to call it a day…
So i was working on my new website which uses a lot of HTML5, CSS3 etc. and shows Youtube videos, so naturally I wanted to use the Youtube HTML5 embed method (which i still don’t More >
A simple example of navigator.geolocation.watchPosition()
Apr 27th
As I mentioned in my previous post about the new/upcoming navigator.geolocation standard, I have been experimenting with Geo location on my IPhone so I thought I’d share some of that with you in case it helps anyone out.
My example is very simple and is intended to show how you can use the JavaScript navigator.geolocation.watchPosition() (the More >
How to get an accurate Geo location from Apple IPhone using navigator.geolocation.watchPosition
Apr 27th
Anyone who’s tried using navigator.geolocation on a fixed-line (i.e. not mobile) device will know that it’s not too useful, usually at home my location is given as New York, USA when in fact I am in Oxfordshire in the UK! So, I turned to my IPhone and had a bit of a hard time at first trying to get an accurate position reading from navigator.geolocation.getCurrentPosition(). My findings here refer to using JavaScript in Safari on Apple IPhone (IPhone 3G with OS 3.1.3 on O2’s GSM network in the UK).
HTML5 input elements and their data formats
Mar 31st
As a follow-up to my article on js5hf – an unobtrusive javascript method for converting text type inputs to HTML5 input types, I wanted to put together a simple example of the new HTML5 inputs to demonstrate the formats in which they output data. So…you can see my example of HTML5 input element data formats More >
JSH5F – A Javascript method to enable HTML5 Form Elements in Browsers which support them
Mar 29th
HTML 5 offers 13 new form input element types but Browser support for these new input types is very scant at present. However, with JSH5F, you can use the new HTML 5 form elements right now in supporting Browsers without causing problems for people using non-supporting browsers.
UPDATE 2: HTML 5 Offline Application Caching (Javascript localStorage/sessionStorage) – A very simple, reasonably complete example
Mar 24th
In an effort to stay ahead or at least alongside the game, I am starting to investigate the upcoming technologies of HTML5 and associated Javascript. In this article, i’ll cover a simple example of Javascript localStorage/sessionStorage, how to detect on-line/off-line status and off-line cache Manifest files.
