cialis online pharmacy generic xenical cheap cialis online cialis generic viagra online in canada buy cheap levitra online cialis without a perscription order viagra uk no prescription flagyl cheap generic levitra buying viagra in the uk cheap viagra approved cialis deltasone online buy viagra online without prescription non prescription cialis buy orlistat uk buy cialis in india prednisone 60 mg female viagra online buy viagra without prescription celebrex prescriptions buy cialis canada best prices viagra alternative to prednisone cheapest generic levitra levitra 5mg cheap viagra cialis on line buy xenical without prescription online accutane canadian health care prednisone no prescreption viagra online generic female viagra europe buy cialis low price cheap india viagra

HTML5 Local Databases

Starting with Safari 4, iPhone/iPad OS3, Chrome 5, and Opera 10.5 (Desktop), HTML5 Local Databases are now supported. Darkcrimson is sharing tutorial and the basic examples how to get started with HTML5 Local Database. First we check if the browser supports the openDatabase method, is so we continue and define the database parameters:

  • shortName is the DB name as it will be referred to by the browser and SQL
  • version openDatabase version. 1.0 for this (more on that here)
  • displayName The full display name / description of the database
  • maxSize This is max size in bytes is the size you expect the database to reach. This is essential for memory management purposes.

Next, we call the createTables(); function where the table is defined and pre-populated with initial data (optional).

Demo: http://blog.darkcrimson.com/samples/localdb
Website: http://blog.darkcrimson.com/2010/05/local-databases

Related Posts

BizFlare Corporate WordPress Theme

Garnet Creative Portfolio Theme

How to Style Nav Links Using Floats With HTML5 and CSS3

Halloween Free HTML5 Theme