HTML5 for Flash Developers - Fisher, Matt (Packt Publishing, 2013)
Controlling CSS via jQuery
Cover; Copyright; Credits; About the Author; About the Reviewers; www.packtpub.com; Table of Contents; Preface; Chapter 1: Why HTML5?; Understanding HTML5; What is HTML5?; HTML standards; HTML syntax; HTML elements; Bringing in the style; Passing it over to JavaScript; What is JavaScript?; JavaScript in action; Why bother learning HTML5?; Write once, deploy everywhere; Exciting new features; canvas -- 2D drawing API; Media playback; Offline storage; Document editing; Drag-and-drop; Geolocation; File API; Mobile accessibility; Flash Player on Mobile; Build on your existing skillset; ECMAScript
Avoiding the initial road blocksStage versus DOM; Positioning assets in the DOM; Dealing with media elements; Securing your code; Browser and platform compatibility; Summary; Chapter 2: Preparing for the Battle; Preparing the asset; Images; JPEG; PNG; GIF; Audio; The audio element; Video; Video codecs; Video containers; Video encoding software; The video element; Debugging and output methods; Google Chrome; Firebug for Firefox; Safari; Opera; Internet Explorer; Syntax differences; Variables; Variable type conversion; Conditions and loops; Functions; Objects; DOM events; Mouse events
Example JavaScript in actionTiming JavaScript execution; Summary; Chapter 3: Scalability, Limitations, and Effects; HTML5 limitations; Object manipulation with CSS3; box-shadow; text-shadow; border-radius; Fonts; Acceptable font formats; External font libraries; Opacity; RGB and RGBA coloring; Element transforms; Translate; Rotate; Scale; Skew; Matrix; 3D transforms; Transitions; Browser compatibility; Frame rate; Developing for mobile; Responsive layouts; CSS Media Queries; Audio and video playback control; Preloading; Autoplay; Looping; Sound effects; Media playback manipulation
Reading local files with the File APIWeb Workers; WebSockets; Canvas element; Stage3D versus WebGL; Summary; Chapter 4: Building Robust Applications with HTML5; Writing object-oriented JavaScript; Class syntax; Functions; Variable scope; Public and private variables and functions; Prototype; Instance types; Object literals; Constructors; Inheritance; Listing object properties; Making OOP in JavaScript easier; JavaScript events; Keyboard and mouse events; Touch events; Custom events; Event bubbling; Putting it all together; Summary; Chapter 5: Code Once, Release Everywhere