HTML5 and all browsers compatibility

Shims, Shivs and Polyfills

Shims and shivs are small libraries that fill gaps in a platform

  • Mainly used when API changes and cause compatibility issues
  • The older API can still be supported by a thin compatibility layer on top of the newer code

Polyfills are similar concept to shims/shivs

  • They provide fallback functionality for features still not implemented natively in the browser
  • When the user update their browser they will have the same experience, but use native implementation

Continue reading “HTML5 and all browsers compatibility” »

Show google maps from address

If you have for a task to show google maps location using just the address the following script should help you.
Here is the HTML code

Boulevard Mansions, Borough Road, SE1, United Kingdom

For Google Maps visualization we will use -> Google Maps Javascript API v3:

We will use the predefined address from the div with id=”mapsaddress” and will get the coordinates needed for Google Maps API. Don’t forget to use your own google map key!

You can also check the working DEMO.