background preloader

OriDomi - origami for the web

OriDomi - origami for the web
Initialization Create an OriDomi instance by passing your target element to the constructor: var folded = new OriDomi(document.getElementsByClassName('paper')[0]); …or pass a selector string and OriDomi will use the first element that matches: var folded = new OriDomi('.paper'); If you prefer using jQuery, try this:

http://oridomi.com/

Related:  Jquery UI PluginsWeb/HTML5(CSS3, JS...)jquery

Selectize.js Current Value: "awesome,neat" Add and remove items in any order without touching your mouse. Use your left/right arrow keys to move the caret (ibeam) between items. This example is instantiated from a <input type="text"> element (note that the value is represented as a string). Current Value: null This demonstrates two main things: (1) custom item and option rendering, and (2) item creation on-the-fly.

Kwicks for jQuery Welcome to the Kwicks for jQuery home page. Kwicks is a plugin providing sexy sliding panels with an emphasis on navigational interaction. Kwicks was originally a port of a MooTools effect (of the same name), but has since evolved into a highly configurable and versatile UI component.

The Failures of "Intro to TDD" I'm now halfway through teaching a two-week crash course on "agile development stuff" to a team of very traditional enterprise Java developers. Condensing fifteen years of our community's progress into 8 half-day workshops has presented an obvious challenge: given the clear time constraints, what set of ideas and practices could conceivably have the biggest positive impact on these developers' professional lives? After a few days of fits and starts, I've come to at least one realization: test-driven development ("TDD") as it's traditionally introduced to beginners is officially off my list. The problems with how TDD is typically introduced are fundamental, because they put the learner on a path that leads to a destination which might resemble where they want to go, but doesn't actually show them the way to the promised destination itself. This sort of phenomenon happens often enough that I've decided to finally settle on a name: "WTF now, guys?"

CSS Tools: Reset CSS The goal of a reset stylesheet is to reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on. The general reasoning behind this was discussed in a May 2007 post, if you're interested. Reset styles quite often appear in CSS frameworks, and the original "meyerweb reset" found its way into Blueprint, among others. The reset styles given here are intentionally very generic. There isn't any default color or background set for the body element, for example.

Uniform - Sexy forms with jQuery Have you ever wished you could style checkboxes, drop down menus, radio buttons, and file upload inputs? Ever wished you could control the look and feel of your form elements between all browsers? If so, Uniform is your new best friend. SweetAlert So... What does it do? Here’s a comparison of a standard error message. The first one uses the built-in alert-function, while the second is using sweetAlert. Normal alert Code: videoconverter.js - Convert Videos In Your Web Browser videoconverter.js is a program that lets you process videos in your browser. View a DemonstrationView a Sample Application or view code on github About [#] Videoconverter.js was originally conceived and implemented for a project in Node Knockout 2013 called Video Funhouse. The idea for the application was to try and convert any video file into another video format, while allowing filters to be applied to the video – all inside of the browser, without uploading anything. And to build it in a single weekend.

8 jQuery And CSS Parallax Scrolling Tutorials Parallax scrolling is a type of web design where different elements of a website move at different speeds. As a user navigates through parallax websites, images will float on top of other images in several layers. Parallax scrolling sites can be used in many different ways to create a variety of captivating effects which have the potential to keep viewers on your site for a great deal of time. So if you are bored using the plugin and challenged to create you own parallax scrolling effects using jQuery and CSS, you might want to try these tutorials below. Magnific Popup: Responsive jQuery Lightbox Plugin Magnific Popup is a responsive lightbox & dialog script with focus on performance and providing best experience for user with any device(for jQuery or Zepto.js). Examples Single image lightbox Three simple popups with different scaling settings. 1 — fits horizontally and vertically, 2 — only horizontally, 3 — no gaps, zoom animation, close icon in top-right corner.

Mosaic - Sliding Boxes and Captions jQuery Plugin Features So, what exactly does Mosaic do? Automatically generates sliding boxes & captions Allows slide & fade animations with custom directions Preloads images within boxes Options Ifvisible.js by serkanyersen Crosbrowser & lightweight way to check if user is looking at the page or interacting with it. Check out the Demo or read below for code example or Check Annotated Sorce // If page is visible right nowif( ifvisible.now() ){ // Display pop-up openPopUp();} Handle tab switch or browser minimize states ifvisible.on("blur", function(){ // example code here.. animations.pause();}); ifvisible.on("focus", function(){ // resume all animations animations.resume();}); ifvisible.js can handle activity states too, such as being IDLE or ACTIVE on the page

Why tables for layout is stupid: problems defined, solutions offered: Everything on one page) There are certain things that CSS does not do as well as table layouts. For instance, say you have a black side nav bar that you want to extend the whole height of your content. With a table layout, this is a piece of cake: just give that <td> a black background. We can do this with CSS, but it requires a different way of thinking. If we give our nav div a black background, the black will only extend until the nav 'runs out'. On most pages, the content is longer than the navigation, so this is no good. jQuery Calendar Just as you, I want to earn money doing what I love. No matter how much I love to this, it’s not sustainable to do it for free. If we were to combine this desire with a belief that amazing products should be free, we got problems ahead. This is how I solved this problem, and I hope you approve:

Related: