43. SVG
• Raphael
• - http://raphaeljs.com
• IE6-8 SVG JS
• VML TAG
• Raphael : http://j.mp/gBqUvC
// Creates canvas 320 × 200 at 10, 50
var paper = Raphael(10, 50, 320, 200);
// Creates circle at x = 50, y = 40, with radius 10
var circle = paper.circle(50, 40, 10);
// Sets the fill attribute of the circle to red (#f00)
circle.attr("fill", "#f00");
// Sets the stroke attribute of the circle to white
circle.attr("stroke", "#fff");
72. WEB STORAGE
• SET
localStorage.MyName = 'hoons';
localStorage.setItem('Myname', 'hoons');
localStorage['Myname'] = 'hoons';
• GET
var name = localStorage.MyName;
var name = localStorage.getItem('Myname');
var name = localStorage['Myname'];
• DELETE
delete localStorage.MyName;
localStorage.removeItem('Myname');
80. INDEXED DB
var idbRequest = window.indexedDB.open('Database Name');
idbRequest.onsuccess = function(event) {
var db = event.srcElement.result;
var transaction = db.transaction([], IDBTransaction.READ_ONLY);
var curRequest = transaction.objectStore('ObjectStore
Name').openCursor();
curRequest.onsuccess = ...;
};
122. FORM
• WebForms2 : http://code.google.com/p/webforms2/
- IE6-8 Form JS
- How to Build Cross-Browser HTML5 Forms : http://net.tutsplus.com/tutorials/html-css-techniques/
how-to-build-cross-browser-html5-forms/