Keypress: A Javascript library for capturing input. The first thing to do is include the JavaScript file in your page.
Once you've got that loaded in, you'll want to start by instantiating a listener: var listener = new window.keypress.Listener(); Once you've done that you can register combos with that listener you've created. The simplest way to do that is using the simple_combo API. It takes a space dilineated string or an array of strings of key names that describe your combo. Listener.simple_combo("shift s", function() { console.log("You pressed shift and s"); }); listener.counting_combo("tab space", function(e, count) { console.log("You've pressed this " + count + " times. "); }); listener.sequence_combo("up up down down left right left right b a enter", function() { lives = 30; }, true); If you only want to use Keypress for some very simple keyboard shortcuts, that's all you need to know! GreenSock.
11 Awesome “jQuery Site Tour Plugins” For Guiding Users With Style. It is always hard to guess how users browse + how they perceive the content and flow of a website or web app.
There are tools to analyze these as much as possible and, using methods like A/B testing, improving the usability is always possible. However, it is always a great idea to guide users whenever they want. Nothing to lose on that for sure. There are awesome jQuery plugins that ease guiding users and creating site/page tours for them. They are stylish, customizable and simple to use. Intro.js A lightweight plugin that uses data attributes and has keyboard navigation support. Chardin.js. DeepTissue.js - A Touch Abstraction Library. Typeahead.js – A jQuery Autocomplete Plugin By Twitter. Twitter has open sourced a very nice project named Typeahead.js for building smart auto-complete form fields.
It comes as a jQuery plugin, shows suggestion as-users-type and can feature top suggestions with the help of styling. The plugin can work with both local or remote datasets and it is optimized for speed as it can prefetch the dataset, store it on the client-side and run the queries quickly. Typeahead.js simply converts any textfield into an auto-complete field, accepts JSON as the data source and has various settings for optimizing remote requests (rate limiting, maxConcurrentRequests, etc.).
Lazy Line Painter. Revolutionary Lightbox Plugin. iLightBox allows you to easily create the most beautiful responsive overlay windows using the jQuery JavaScript library.
By combining support for a wide range of media with gorgeous skins and a user-friendly API, iLightBox aims to push the Lightbox concept as far as possible. Need reasons to love iLightBox? Look no further. Browser support IE7+ (including IE10), Firefox, Safari, Opera, Chrome, IOS4+, and Android are supported. BlackAndWhite, passez vos images en noir et blanc avec jQuery. KeyboardJS Demo - "Build your app, I'll handle the keys."
Press some keys...
A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts. Audio5js - The HTML Audio Compatibility Layer. jQRangeSlider: jQuery plugin for range sliders. Themergency. FooTable is a jQuery plugin that aims to make HTML tables on smaller devices look awesome - No matter how many columns of data you may have in them. What Does It Do? Gild/bootstrap-tour. jQuery Joyride Feature Tour Plugin - ZURB Playground - ZURB.com. Create jQuery Feature Tours in a Breeze Setting up Joyride is simple, just attach the needed files, drop in your markup and choose your settings.
Joyride is extremely flexible and lets you take control of how people interact with your tour. We programmed it to be cross-browser compatible with modern browsers and even used some fancy CSS to avoid images. Now let’s see just how easy it is to take your first ride without getting the fuzz involved. New in Version 2 There have been many significant performance improvements in Joyride 2, along with a myriad of new features. It works on every screen size! Bookblock - Un plugin jQuery bien sympa. Allofthelights.js, éteindre la lumière lorsqu’on regarde une vidéo avec jQuery.
Allofthelights.js est un plugin jQuery, développé par mes soins, qui permet d’éteindre la lumière sur votre site web lorsque vous regardez une vidéo.
Une manière simple et originale de mettre en avant une vidéo et de proposer aux spectateurs des conditions confortables à la lecture, un peu comme dans un cinéma. Que la lumière… ne soit plus Allofthelights.js fonctionne avec toutes les iframes vidéo (YouTube, Vimeo, Dailymotion, etc), et plus largement avec n’importe quel élément HTML. Il existe une dizaine d’options pour configurer le plugin : vous pouvez personnaliser le background (couleur, opacité), contrôler la vitesse d’animation de type ‘fade’, rendre la vidéo responsive grâce à FitVids.js (elle s’adapte alors automatiquement à son conteneur dans les limites du lecteur utilisé), définir le z-index exact du background, ou encore personnaliser totalement le style CSS des interrupteurs on / off.
Create PDF Files With JavaScript – jsPDF. PDF files that are created online usually make use of the server-side languages (and their extensions/libraries for PDF). jsPDF, a free JavaScript library, doesn't need any server-side script and can create PDF files on the client-side.
It has support for text (styling is possible), drawing shapes and images. Also, the document can be set as landscape and metadata like subject an title can be added as well. gMap - Un plugin jQuery pour GoogleMaps. How to Create an Interactive Graph using CSS3 & jQuery. Topic: jQuery (Flot) & CSS3Difficulty: AdvancedEstimated Completion Time: 1 hour In this tutorial we will code an Interactive Graph using jQuery and CSS3.
We will use the jQuery’s popular plotting plugin “Flot”. Flot is a pure JavaScript plotting library for jQuery. It produces graphical plots of arbitrary datasets on-the-fly client-side. How to: Customizing and Theming jQuery UI Datepicker. jQuery UI is simply awesome and due to the ease of use, it is popular and widely used in almost any website that need interactive features.
And, in this post, we’ll look at one of the features provided, the Datepicker widget. We will try to learn how to customize the calendar theme, so that you will be able to create your own theme that will correspond to your overall design. However, you need a bit of understanding in JavaScript and familiarity with CSS before following this tutorial. If you’re ready, let’s get started. The Assets Let’s prepare some of the essential assets for the calendar. First, the calendar design will refer to this PSD file from Premium Pixels. 4 plugins jQuery pour un effet de Parallaxe. L’effet de Parallaxe ou plus précisément de Défilement Parallaxe nous est décrit comme cela par Wikipédia (paragraphe « défilement différentiel ») : Roundabout for jQuery by Fred LeBlanc.
It’s ready-to-go straight out of the box, but if you want to get crazy, Roundabout is highly-customizable with an extensive API that allows for some pretty amazing results. Roundabout requires jQuery (at least version 1.2, successfully tested through version 1.7.2). It works in all major modern browsers and even some of the older, not-so-modern ones. It’s open source and released under the BSD license, meaning that it’s free to use in your personal or commercial projects. See Roundabout In Action. Powerful New CSS- and JavaScript-Techniques (2012 Edition) Advertisement Since our last round-up of useful CSS techniques1, we’ve seen a lot of truly remarkable CSS geekery out there.
With CSS3, some of the older techniques now have become obsolete, others have established themselves as standards, and many techniques are still in the “crazy experimentation” stage. Since the release of the previous post, we’ve been collecting, sorting, filtering and preparing a compact overview of powerful new CSS techniques. Today we finally present some of these techniques. Redactor WYSIWYG editor on jQuery. By James Fenimore Cooper Winding its way among countless islands, and imbedded in mountains, the "holy lake" extended a dozen leagues still further to the south.
With the high plain that there interposed itself to the further passage of the water, commenced a portage of as many miles, which conducted the adventurer to the banks of the Hudson, at a point where, with the usual obstructions of the rapids, or rifts, as they were then termed in the language of the country, the river became navigable to the tide. "Come," he said, with a good-humored smile; "the buck that will take to the water must be headed, and not followed. " The route taken by Hawkeye lay across those sandy plains, relived by occasional valleys and swells of land, which had been traversed by their party on the morning of the same day, with the baffled Magua for their guide.
The sun had now fallen low toward the distant mountains; and as their journey lay through the interminable forest, the heat was no longer oppressive. Re-usable charts for d3.js. DdSlick - a jQuery plugin for custom drop down with images. With traditional drop downs i.e. using <select><option></option></select> you are limited to only text and value. But with this easily configurable jquery plugin, you can now create a custom drop down that can very well include images, a short description, along with your usual text and value. Take a look at the following demos in action. How to write jQuery plugins » Debuggable - Node.js Consulting.
jQuery, the most popular javascript library out there, is great for DOM abstraction. It allows you to encapsulate functionality into your own plugins, which is a great way to write reusable code. jQuery Vector Maps - Resizable Scalable Vector Graphic (SVG) Maps for Modern Browsers. jQuery Knob demo. Minjs - Minimalist JavaScript. A suite of Javascript libraries and tools designed for working with HTML5. Skrollr - parallax scrolling for the masses. The new standard to implement AJAX. Filepicker.io. jQuery NailThumb. Experience how useful it is in dynamic web applications, where you can face any shape or size.
jPages. Tracking Scroll Depth with jQuery and Google Analytics. (Update: You can view the updated plugin and new project page here.) It's Bacon! A jQuery plugin that allows you to wrap text around a bezier curve or a line. Webshims lib - The capability-based polyfill-loading JS library. Adipoli jQuery Image Hover Effects. How To Use. Bacon, personnalisez l’alignement du texte avec jQuery. Blur.js. jTable.org - A JQuery plugin to create AJAX based CRUD tables - Home Page. The Ultimate jQuery List.
Jeditable - Edit In Place Plugin For jQuery. qTip2 - Pretty powerful tooltips.