background preloader

Web Tools

Facebook Twitter

Bear CSS - Helping you build a solid stylesheet foundation based on your markup. IFrame removed on saving or editor toggle. GamepadAPI. Web Gamepad API (Draft Recommendation) Abstract The HTML5 specification introduces many of the necessary components for rich interactive and game development, from <canvas> and WebGL to <audio> and <video>.


At the same time, JavaScript implementations have matured to the point where they can now support many tasks which previously required native code. The Web Gamepad API presents a new way for web and game developers, as well as interaction designers, to access and use gamepads and other controllers for games. This API is currently in Editor's Draft status at the W3C, and will be subject to change.

Authors Ted Mielczarek (@TedMielczarek) Jason Orendorff (@jorendorff) David Humphrey (@humphd) Kevin Gadd (@antumbral) API Tutorial This API introduces new events on the window object for reading gamepad and controller (hereby referred to as gamepad) state. Connecting to a Gamepad When a new gamepad is connected to the computer, the focused page will first receive a MozGamepadConnected event. Readability index calculator Result.

Thorleif's SOMA page. Sending big files the easy way - WeTransfer. "Simple Image Gallery" Plugin IE Problems .. Please Read.. Fotisevangelou wrote: Since this is purely a styling issue, you should know that Solarflare does indeed use the XML declaration which is not recommended at all by any professional web developer or designer.

"Simple Image Gallery" Plugin IE Problems .. Please Read..

The XML declaration does nothing to Firefox, but it "shifts" IE in quirks mode, which means that IE does not interpret HTML/CSS as it should. So, no, Simple Image Gallery does not display as it should in Solarflare. But that is not our problem. We provide the plugin with some eye-catching styling, but anyone is free to adjust this to suit their needs. links: (mt) Media Temple > KnowledgeBase > Home. Learn CSS Positioning in Ten Steps: position static relative absolute float.

1. position:static The default positioning for all elements is position:static, which means the element is not positioned and occurs where it normally would in the document.

Learn CSS Positioning in Ten Steps: position static relative absolute float

Normally you wouldn't specify this unless you needed to override a positioning that had been previously set. 2. position:relative If you specify position:relative, then you can use top or bottom, and left or right to move the element relative to where it would normally occur in the document. Let's move div-1 down 20 pixels, and to the left 40 pixels: Notice the space where div-1 normally would have been if we had not moved it: now it is an empty space. It appears that position:relative is not very useful, but it will perform an important task later in this tutorial. 3. position:absolute When you specify position:absolute, the element is removed from the document and placed exactly where you tell it to go.

Let's move div-1a to the top right of the page: What I really want is to position div-1a relative to div-1. Footnotes 10. JavaScript Cheat Sheet - Added Bytes. A quick reference guide for JavaScript, listing methods and functions, and including a guide to regular expressions and the XMLHttpRequest object.

JavaScript Cheat Sheet - Added Bytes

The JavaScript cheat sheet is designed to act as a reminder and reference sheet, listing methods and functions of JavaScript. It includes reference material for regular expressions in JavaScript, as well as a short guide to the XMLHttpRequest object. A description of what is on the cheat sheet follows, or if you are impatient, you can go straight to the full size JavaScript cheat sheet. Functions and Methods JavaScript has a huge number of methods and functions available. XMLHttpRequest The XMLHttpRequest object is relatively new to JavaScript. JavaScript in HTML This section contains simple HTML, showing how to add JavaScript to an HTML document. Regular Expressions JavaScript contains support for regular expressions. Event Handlers Personally, I often forget the exact names of the various event handlers in JavaScript.

Download Related Cheat Sheets.