background preloader

OriDomi - origami for the web

OriDomi - origami for the web
Related:  Jquery UI Plugins

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. The most vanilla of examples. Selectize supports <optgroup> rendering (as of v0.5.0). Current Value: ["CA","WY"] This example only allows 3 items. Current Value: "" A good example of (1) support for international characters (diacritics) and (2) how items are scored and sorted. $('#select-country').selectize(); Current Value: " This demo shows how to integrate third-party data from the GitHub API. This demo shows how to integrate third-party data from the Rotten Tomatoes API. Current Value: "web development,design" drag these items around with your mouse

Test Double | Our Thinking | 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?" Teaching "classic TDD" with code katas.

Responsive Navigation Patterns Update: I’ve also written about complex navigation patterns for responsive design. Top and left navigations are typical on large screens, but lack of screen real estate on small screens makes for an interesting challenge. As responsive design becomes more popular, it’s worth looking at the various ways of handling navigation for small screen sizes. Mobile web navigation must strike a balance between quick access to a site’s information and unobtrusiveness. Here’s some of the more popular techniques for handling navigation in responsive designs: There are of course advantages and disadvantages of each method and definitely some things to look out for when choosing what method’s right for your project. Top Nav or “Do Nothing” Approach One of the easiest-to-implement solutions for navigation is to simply keep it at the top. Pros Cons Height issues- Height matters in mobile. Responsive navigation breaking to multiple lines on small screens In the Wild Resources The Select Menu The Toggle In The Wild

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. Uniform masks your standard form controls with custom themed controls. Documentation Installation Installation of Uniform is quite simple. Basic usage Using Uniform can be quite easy as well. $(function(){ $("select").uniform(); }); To “uniform” all possible form elements, just do something like this: $("select, input:checkbox, input:radio, input:file").uniform(); Extra parameters You can pass in extra parameters to control certain aspects of Uniform. selectClass (string) Default: "selector" Sets the class given to the wrapper div for select elements. radioClass (string) Default: “radio” Sets the class given to the wrapper div for radio elements. checkboxClass (string) Default: “checker” Sets the class given to the wrapper div for checkbox elements. fileClass (string)

auduno/clmtrackr Responsive Layouts, Responsively Wireframed Responsive layouts, responsively wireframed Made with HTML/CSS (no images, no JS*) this is a simple interactive experiment with responsive design techniques. Use the buttons top-right to toggle between desktop and mobile layouts. Using simple layout wireframes, this illustrates how a series of pages could work across these different devices, by simulating how the layout of each page would change responsively, to suit the context. Responsive layouts? Producing static wireframes to design layouts for websites, web applications and user-interfaces has worked well for a long time. However, this solution creates a new problem: How should we go about the process of designing these variable layouts? Enter, responsive wireframes? The 'wireframes' on this page (which are only very simple, high-level examples) were created with HTML/CSS, and some argue that this is the answer; to design in the browser. So which is better? Traditional wireframes? HTML? So, what's the answer? Just wondering...

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. Lightbox gallery You may put any HTML content in each gallery item and mix content types. Zoom-gallery If you wish to open the popup only after image is fully loaded, you may preload image via JS. Popup with video or map In this example lightboxes are automatically disabled on small screen size and default behavior of link is triggered. Dialog with CSS animation Animations are added with simple CSS transitions, you can make them look however you wish.More animation effects on CodePen. Popup with form Entered data is not lost if you open and close the popup or if you go to another page and then press back browser button. Ajax popup Fast

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. This is a huge task, and we knew that existing libraries like FFmpeg would do a great job. Here is a video demonstrating the sample application we made with this library over the weekend: Why? Why would you compile FFmpeg into JavaScript? Who? Most of the grunt work has been done by @bgrins and @aaronm67. How Big is the JavaScript File? The ffmpeg.js file is around 24 MB or so. Should I Use This? Feel free to use this program, but keep in mind the following things: Pontential Uses [#]

The 8 biggest responsive web design problems (and how to avoid them) | Web design I created a survey asking fellow designers about the problems they faced when creating fully responsive sites. This article will list the most common problems they reported and offer possible solutions, along with suggestions to consider on your next projects. The information contained here is based on hundreds of survey responses (if you'd like to add your own answers, the survey itself is still open) along with problems I've also come across in my own work at Offroadcode. So without further ado, let's reveal what the most common responsive web design problems are... and how you can avoid them. Fledgling methodology Despite responsive design already having been around more than two years, it's still in many ways a fledgling methodology. All of these feature in the most common problems reported by survey respondents, which were: Subscription offer 01. The 'old' process of designing a website was a very linear one, which made it easy for clients to understand. 02. 03. 04.

Fine Uploader Live Demo and Javascript Code Examples Basic Setup Want to upload files to your own server? You need only to include a CSS file, a JavaScript file, and handle the uploads on the server side according to the technology you are using. There are absolutely no other dependencies. You can quickly set up an HTML page in order to use Fine Uploader: Download and unpack the latest version of Fine Uploader. Have a look at the following live demos for examples of common setups. Gallery View for Images In this demo, we're utilizing Fine Uploader 4's client-side image preview generation feature. This uploader is also restricted in allowed extensions (jpeg, jpg, gif, and png) This demo uses the default simple thumbnails template bundled with Fine Uploader UI. Note: File bytes are not actually being sent to the server for this demo due to limitations of the GitHub Pages server. Processing dropped files... No Dependencies jQuery Manually Trigger Uploads & Edit File Names Validation There are various options available to you when using Fine Uploader.

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 ifvisible.on("idle", function(){ // Stop auto updating the live data stream.pause();}); ifvisible.on("wakeup", function(){ // go back updating data stream.resume();}); Default idle duration is 60 seconds but you can change it with setIdleDuration method ifvisible.setIdleDuration(120); // Page will become idle after 120 seconds

The 5 Worst UX Mistakes Websites Make The user experience of websites has improved by leaps and bounds over the years, but I still run into sites that make me ask, “What were they thinking?!” From a design perspective, it’s easy to get caught up in internal squabbles (“No, no, THIS is the content that has to be front and center”) or distracted by tools or methods (“I say we use lean UX on this project”). When this happens, we often forget that at the end of it all waits a person who wasn’t in on all these decisions, and just wants to get the information they need, buy the product, or be entertained for five minutes while waiting for the train. In the hopes it will help us all avoid these pitfalls, here’s my list of the five worst UX mistakes that I still see people making in website design. Mistake #1: Paying too much Attention to the Macro and Short-Shrifting the Micro Recently, I reviewed a non-profit agency website. People expect technology to follow the same rules as human-to-human interaction. This is challenging.

Colorbox - a jQuery lightbox A lightweight customizable lightbox plugin for jQuery View Demos Released under the MIT License, source on Github (changelog) Download Install via NPM npm install jquery-colorbox Compatible with: jQuery 1.3.2+ in Firefox, Safari, Chrome, Opera, Internet Explorer 7+ Supports photos, grouping, slideshow, ajax, inline, and iframed content.Lightweight: 10KB of JavaScript (less than 5KBs gzipped).Appearance is controlled through CSS so it can be restyled.Can be extended with callbacks & event-hooks without altering the source files.Completely unobtrusive, options are set in the JS and require no changes to existing HTML.Preloads upcoming images in a photo group.Currently in use on a million-plus websites. Instructions & Help The FAQ has instructions on asking for help, solutions to common problems, and how-to examples. Usage Colorbox accepts settings from an object of key/value pairs, and can be assigned to any HTML element. Settings Public Methods Event Hooks Hey,

Related: