background preloader

JQUERY

Facebook Twitter

jQuery est une bibliothèque JavaScript libre et multi-plateforme créée pour faciliter l'écriture de scripts côté client dans le code HTML des pages web3.

La première version est lancée en janvier 2006 par John Resig. (Source : Wikipédia) Désormais, je vais utiliser VanillaJS. De jQuery à Vanilla JS. Oui alors jQuery, c'est sûrement très bien, ça simplifie pas mal de choses et le chaining est intéressant mais eeeest-ce que vous connaissez l'équivalent en pur JavaScript ?

De jQuery à Vanilla JS

Pas sûr hein. Ce petit article vous propose de quoi peut-être vous faire changer d'avis sur la bibliothèque qui pèse tout de même environ ~80ko. Note : Vanilla JS n'est pas un framework mais veut simplement dire "à nu", c'est du JavaScript sans bibliothèque. C'est parti ! Table des matières Évènements $(document).ready(function() { }); document.addEventListener("DOMContentLoaded", function() { }); $('a').click(function() { }) [].forEach.call(document.querySelectorAll('a'), function(el) { el.addEventListener('click', function() { }) }) Sélecteurs var divs = $("div"); var divs = document.querySelectorAll("div"); var newDiv = $("<div/>"); var newDiv = document.createElement("div"); Attributs $("img") .filter(":first") .attr("alt", "My image"); document.querySelector("img").setAttribute("alt", "My image");

jQuery GUI Manipulation – HTML5 Hive. Basic knowledge of HTML5 and CSS3.

jQuery GUI Manipulation – HTML5 Hive

Some exposure to JavaScript and jQuery is recommended but not required. In this tutorial, we will build a simple price calculator with HTML5 and CSS3. jQuery Cheat Sheet. OverAPI.com Resource Online Official Website.

jQuery Cheat Sheet

How to program a calculator with jQuery. Previously, I showed you how to use CSS border-radius property to create the following calculator.

How to program a calculator with jQuery

Learn jQuery - Best jQuery Tutorials (2019) jQuery Tutorial - An Ultimate Guide for Beginners. jQuery is a powerful and widely used JavaScript library to simplify common web scripting task. jQuery is a fast, lightweight, and feature-rich JavaScript library that is based on the principle "write less, do more".

jQuery Tutorial - An Ultimate Guide for Beginners

It's easy-to-use APIs makes the things like HTML document traversal and manipulation, event handling, adding animation effects to a web page much simpler that works seamlessly across all the major browsers like Chrome, Firefox, Safari, Internet Explorer, etc. You Might Not Need jQuery. Cycle2. Overview Cycle2 is a versatile slideshow plugin for jQuery built around ease-of-use.

Cycle2

It supports a declarative initialization style that allows full customization without any scripting. Simply include the plugin, declare your markup, and Cycle2 does the rest. Highlights: Supports all browsers Declarative: no scripting needed! How it Works It's very simple really, even your grandmother could use it. jQuery Fundamentals. Back to top jQuery is fast becoming a must-have skill for front-end developers.

jQuery Fundamentals

The purpose of this book is to provide an overview of the jQuery JavaScript library; when you're done with the book, you should be able to complete basic tasks using jQuery, and have a solid basis from which to continue your learning. This book was designed as material to be used in a classroom setting, but you may find it useful for individual study. SmartMenus jQuery Website Menu Plugin - Mobile first, Responsive and Accessible List-Based JavaScript Menu. FlexNav - A jQuery Plugin for Responsive Menus. A Device-Agnostic Approach to Complex Site Navigation The mock navigation you see above is a mobile-first example of using media queries and javascript to make a decent site menu with drop downs.

FlexNav - A jQuery Plugin for Responsive Menus

Special attention is paid to touch screens using touch events with tap targets (the key feature of FlexNav). This is something I use to test different navigation techniques and may change as I iterate over different solutions to the problem. Basically I want a simple model to build upon when working on sites from scratch. Download on GitHub → Tefra/navgoco: Multi-level slide navigation with session storage and accordion effect for JQuery. Sidr - Berriart. You will be able to create multiple sidrs on both sides of your web to make responsives menus (or not, it works perfectly on desktop too).

Sidr - Berriart

It uses CSS3 transitions (and fallbacks to $.animate with older browsers) and it supports multiple source types. Get started Like any other plugin, you must include it after the jQuery script. For a better performance load them at the bottom of your page or in an asynchronous way. You have to include a Sidr Theme stylesheet too, choose between the dark or the light one, or if you prefer create one by your own. Using bower or NPM Instead of downloading the plugin, you can install it with bower or with npm: bower install sidr --save. Learn jQuery for Total Noobs Volume I: JavaScript Crash Course. A guide to the basics of jQuery. jQuery Cheat Sheet. jQuery Cheat Sheet. jQuery Fading Methods Example using fadeIn(), fadeOut() and fadeToggle() Have you ever come across a situation where you had to fade in or fade out elements on a web page?

jQuery Fading Methods Example using fadeIn(), fadeOut() and fadeToggle()

I am sure you have and here in this article I’ll show you how to fade in hidden elements and later fade out elements using three jQuery methods such as fadeIn(), fadeOut() and fadeToggle(). Be careful while using these methods, as these are case sensitive. The first two methods that I’ll explain with examples are the fadeIn() and fadeOut() methods, followed by the fadeToggle() method. A guide to the basics of jQuery. You Might Not Need jQuery. Salvattore — A jQuery Masonry alternative with CSS-driven configuration. Annyang! Easily add speech recognition to your site. Go ahead, try it… Say "Hello! " Annyang! Let's try something more interesting… Say "Show me cute kittens! " Say "Show me Arches National Park! " Now go wild. That's cool, but in the real world it's not all kittens and hello world. No problem, say "Show TPS report" Tips, techniques, and tutorials for the jQuery JavaScript library. GojQuery - jQuery Plugins, Tutorials, jQuery Articles, & Resources.

Cours/TP jQuery - HETIC - JG 2015. jQuery Plugin – Increment ← Sean-O.com. jQuery Increment Plugin Inspired by this article on css-tricks.com, I decided to release a plugin dedicated solely to quick keyboard-based manipulation of numeric values in HTML input fields. It’s called Increment. Simply assign the set of inputs you wish to attach this behavior to:$('input.hours').increment(); And let your fingers do the walking: use the up arrow to increment values, down arrow to decrement. Hold down shift for greater increments (maxIncrement), Ctrl/Cmd for smaller ones (minIncrement).

Use Cases: Time sheet applications (how I came to develop this), Order / Requisition forms, anywhere multiple numeric form inputs are needed. v0.6 — Added support for mousewheel plugin, small Closure Compiler bugfix v0.5 — Initial release Increment has been tested on: Firefox 3.6 / WinChrome 4.0 / WinIE 8 / WinSafari 4 / MacFirefox 3.6 / MacChrome 5 Beta / Mac Download Increment Now New v0.6 with mousewheel plugin support Your feedback is appreciated. jQuery documentation, manuel en français. Apprendre et comprendre jQuery – 1/3.

ContentBox.js – Réaliser des modèles de pages attractifs mais difficiles à coder – Magazine du Webdesign. jQuery Tutorial - Try jQuery. jQuery. Top 20 Best jQuery Carousel Plugins. Carousel elements will give your website’s visitors the ability to easily access multiple content items. Carousels are scrolling lists of items, displayed horizontally and they have dynamic effects. You are able to scroll back and forth and see the list of items. Carousel elements or effects are also used in creating sliders. These are great for portfolios, where you need to showcase lots of images, but they can be used for other types of websites too. 10 Awesome jQuery and HTML5 Audio Players. Want to play audio on your website?

These jQuery and HTML5 Audio Players plugins will be very useful to you. They’re great for fullscreen websites which use audio to create a certain mood or feel or for band and DJ’s websites. 20 New Free Javascript and jQuery Plugins. John Resig developed the jQuery library in 2006, and since then this become the most popularJavaScript libraries on the web. Without a doubt, jQuery is well known and frequently used in the web design community.

Jquery lets you prototype and create any kind of unique and creative user interface with minimal work and that is the reason why it increases in popularity each day. Thanks to jQuery, web design became faster, easier and more approachable. 40 Best jQuery Plugins for Web Developers. jQuery plugins are being used by many web developers and designers, because they’re a great way of adding smart functionality to a website, without too much work. Their increase in popularity is also due to the fact that they enhance user experience and add value and new features to a website, without any hassle and too much time investment. 20 Useful Free jQuery Plugins for Web Developers. 10 Great jQuery Pagination Plugins and Tutorials. 10+ Awesome jQuery Lightbox Plugins. jQuery lightbox plugins are very popular for showcasing your photos in an elegant and appealing way.

This technique is also used for pop-up email signup forms or login forms. There are many advantages of using jQuery lightboxes, the most important is that users are not required to leave the page to view the content presented by the lightbox and also the image is emphasized by the fade out effect in the back. Some image lightbox plugins even include gallery displaying capabilities and allow visitors to browse through sets of images. 10 Awesome jQuery Typography Plugins. Typography has a very important role in design. It helps you deliver the message in an attractive way for your readers. This also applies to webdesign, as typography can help you attract more visitors to your website..

Of course, you can add add great looking typography to headlines, buttons etc. by using images but as you probably know, text on images isn’t visible to search engines and this is a major problem when it comes to SEO. 10 Easy to Use jQuery Google Maps Plugins and Tutorials. Google Maps is a very helpful tool and it’s used by lots of people. 10 Awesome jQuery Tutorials. 10 Outstanding jQuery Zoom Plugins. 10 Awesome jQuery Tutorials. 10 Awesome jQuery Image Galleries and Sliders. One of the most common requests I get from clients is to have some sort of image gallery on their site. Whether it’s a sliding image gallery on a homepage displaying promotions or a robust gallery full of portfolio images showing off the quality of work, jQuery image galleries area a great way for displaying multiple images on a website.

They are search engine friendly, iPad and iPhone friendly, and lighter weight than a lot of the Flash slideshow galleries on the market. TN3 Gallery. 10 jQuery Horizontal Scroll Demos & Plugins. Zepto.js: the aerogel-weight jQuery-compatible JavaScript library. JQuery. jQuery documentation, manuel en français. OS Library - Open Source Library. Advanced Search Form - Coding, Tutorials. A guide to the basics of jQuery. 10 JQuery Parallax and Web Scroll Plugins for Amazing Web Experience. jQAPI - Alternative jQuery Documentation Browser. JavaScript Style Guide. jQuery API Documentation. jQuery Learning Center. JS ANIMATIONS (toutes bibliothèques confondues)

jQuery Mobile

JQUERY ANIMATIONS.