
HTML5
Get flash to fully experience Pearltrees
worker.onmessage = function (e){ // 由於在 worker.js 中使用了 postMessage() 並傳入 i 值 // 因此在這裡可以使用 event.data 來取得 i 值,並做出相關處理 // 例如: console.log(e.data); }
開始HTML5 – Web Workers « 色胚子部落
5lide: HTML5-based Slides Maker
Start Using HTML5 WebSockets Today | Nettuts+
One of the coolest new features of HTML5 is WebSockets, which let us talk to the server without using AJAX requests. In this tutorial, we’ll review the process of running a WebSocket server in PHP, and then building a client to send and receive messages to it over the WebSocket protocol. What are WebSockets? WebSockets is a technique for two-way communication over one (TCP) socket, a type of PUSH technology. At the moment, it’s still being standardized by the W3C; however, the latest versions of Chrome and Safari have support for WebSockets. What do WebSockets Replace?The scoped attribute | HTML5 Doctor
A few concerns keep bobbing up now and then for Web developers, one of which relates to how to lay out a given design.
Six CSS Layout Features To Look Forward To - Smashing Coding
var localMediaStream , recorder ; var record = function ( button ) { recorder = localMediaStream . record (); }; var stop = function ( button ) { localMediaStream . stop (); recorder . getRecordedData ( function ( blob ) { // Upload blob using XHR2. }); }; function enterFullscreen () { var elem = document . querySelector ( 'body' ); elem . onwebkitfullscreenchange = function ( e ) { console . log ( "Entered fullscreen!" ); elem . onwebkitfullscreenchange = onFullscreenExit ; }; elem . webkitRequestFullScreen ( Element . ALLOW_KEYBOARD_INPUT ); } document . webkitIsFullScreen ( bool ) document . webkitCurrentFullScreenElement ( DOMElement ) document . webkitFullScreenKeyboardInputAllowed ( bool ) document . webkitCancelFullScreen (); HTMLMediaElement . webkitSupportsFullscreen ( bool ) HTMLMediaElement . webkitDisplayingFullscreen ( bool ) HTMLMediaElement . webkitEnterFullScreen () HTMLMediaElement . webkitExitFullScreen ()

