-
as seen on Super User
- Search for 'Super User'
Is there a plugin for firefox to validate HTML 5? I've always used this but if my webpage has a <!DOCTYPE HTML> doctype it complains about it not having a doctype at all.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi Al,
I need to make a page which displays a video. Firefox and and Opera support the OGG format, no problem there. Chrome is ... "stupid" and does not recognize OGG.
Does Chrome on Windows know how to handle WMV? I already have them encoded, and no I cannot recode new videos since the media is…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm doing an iPhone version of a desktop site that includes a blog. The blog often embeds images from other domains (the image URLs always start with http:// in this case, obviously), but because I'm using cache-manifest, these images don't load because they aren't declared in the manifest file.
I…
>>> More
-
as seen on Geeks with Blogs
- Search for 'Geeks with Blogs'
Part of the challenge with HTML5 is understanding the range of different technologies and finding good samples. The following are some of the sites I have found most useful.
IE TestDrive
http://ie.microsoft.com/testdrive/
A good set of demos using touch, appcache, IndexDB, etc…
>>> More
-
as seen on Geeks with Blogs
- Search for 'Geeks with Blogs'
Here are some of the best introductory HTML5 videos I have found online/for free.
Mix 2011:
HTML5 for Skeptics - Scott Stansfield
channel9.msdn.com/Events/MIX/MIX11/EXT21
Filling the HTML5 Gaps with Polyfills and Shims - Ray Bango
channel9.msdn.com/Events/MIX/MIX11/HTM04
50 Performance…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The iPhone supports geolocation in mobile Safari via the following call:
navigator.geolocation.getCurrentPosition(
function(pos){
var lat = pos.coords.latitude;
var long = pos.coords.longitude;
},
function(){
/* Handler if location could not be found */
}
);
I'd like to build…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Here's my situation; I've built a very simple web app that looks up a users location and plots it on a Google map.
Here's my code: http://pastebin.com/d3a185efd
When I test it, my location is detected as being = 500 meters from where I actually stand.
BUT
When I open up Google Maps or Gowalla…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When trying to get geolocation on iPhone the first time - I declined.
Every other time I want to get the location (before another reload of the page) I get no response (no error and no success):
navigator.geolocation.getCurrentPosition(
function (location) {
ig_location.lat = location…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am looking for a good geolocation api to use from bash. I want this call to return at the very minimum the name of the city I am in, and the state.
I imagine that there must be some site I can curl, or some scripting language that has a package that works. The machine does not have a GPS, but it…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I just tested Geolocation on Firefox 3.6 and iPhone Safari (os 3.1.3), the result is interesting, firefox is more accurate than safari. any one got idea how to make iPhone Safari result more accurate.
this is the code for testing:
navigator.geolocation.getCurrentPosition(handler, {enableHighAccuracy:…
>>> More