Herramientas de usuario

Herramientas del sitio


fw:others:html5fw

¡Esta es una revisión vieja del documento!


HTML5 wrappers y utilidades

Utilidades

Modernizr

Para la visualización de páginas HTML5 en navegadores que no lo soporten.

Checkear el soporte para...

Geolocation

if (Modernizr.geolocation) {
  // let's find out where you are!
} else {
  // no native geolocation support available :(
  // maybe try Gears or another third-party solution
}

Wrappers

Geolocation

geo-location-javascript

* http://code.google.com/p/geo-location-javascript/

//determine if the handset has client side geo location capabilities
if(geo_position_js.init()){
   geo_position_js.getCurrentPosition(success_callback,error_callback);
}
else{
   alert("Functionality not available");
}
fw/others/html5fw.1316529083.txt.gz · Última modificación: 2020/05/09 09:24 (editor externo)