background preloader

JS/jQuery

Facebook Twitter

SimpleBar - Custom scrollbars made simple. A lazy loading and multi-serving image script. What is bLazy?

A lazy loading and multi-serving image script

bLazy is a lightweight lazy loading image script (less than 1.2KB minified and gzipped). It lets you lazy load and multi-serve your images so you can save bandwidth and server requests. Verlok/lazyload: LazyLoad is a fast, lightweight and flexible script to allow you enhance performance on your website by loading images only as they enter (or are about to enter) the viewport or a scrollable area, with best support to the img src. JavaScript 30 — Build 30 things with vanilla JS in 30 days with 30 tutorials. JavaScript Event KeyCodes.

Magnific Popup Documentation. Here you can find the guide on how to use Magnific Popup.

Magnific Popup Documentation

Besides this docs page, you can play with examples on CodePen. If you’ve found any mistake in this site or you know how to improve some part of this documentation - please commit on GitHub. Please ask general questions through Stack Overflow tagged with magnific-popup. If you’re looking for touch-friendly popup just for images, PhotoSwipe might be a better choice. Including files You can get Magnific Popup JS and CSS file from the build tool, from the dist/ folder in the GitHub repository, or by compiling it yourself with Grunt. It’s not required, but we recommend placing CSS files in <head> and JavaScript files and initialization code in the footer of your site (before the closing </body> tag). Initializing popup.

Parsley - The ultimate documentation. Frontend form validation Parsley is a javascript form validation library.

Parsley - The ultimate documentation

It helps you provide your users with feedback on their form submission before sending it to your server. It saves you bandwidth, server load and it saves time for your users. Javascript form validation is not necessary, and if used, it does not replace strong backend server validation. Reveal.js - The HTML Presentation Framework. The HTML Presentation Framework Created by Hakim El Hattab and contributors Hello There reveal.js enables you to create beautiful interactive slide decks using HTML.

reveal.js - The HTML Presentation Framework

This presentation will show you examples of what it can do. Vertical Slides Slides can be nested inside of each other. Use the Space key to navigate through all slides. Basement Level 1 Nested slides are useful for adding additional detail underneath a high level horizontal slide. Basement Level 2 That's it, time to go back up. Slides. Www.elevateweb.co.uk/image-zoom. Labs by Big Room Studios. How to create an animated sticky header, with CSS3 and jQuery. Trends come and trends go.

How to create an animated sticky header, with CSS3 and jQuery

The ones that stick around the longest do so because they solve a particular problem. A trend that’s popular right now for that very reason, is sticky elements; elements that behave normally until we scroll, and then maintain their presence on the page somehow. The trend started with sidebars, but where it’s really grown in popularity is headers. Why? Elastislide - A Responsive jQuery Carousel Plugin. Elastislide is a responsive image carousel that will adapt fluidly in a layout.

Elastislide - A Responsive jQuery Carousel Plugin

It is a jQuery plugin that can be laid out horizontally or vertically with a pre-defined minimum number of shown images. View demo Download source With the responsive awakening in web design it becomes important to not only take care of the visual part of a website but also of the functionality. Elastislide is a responsive jQuery image carousel that will adapt its size and its behavior in order to work on any screen size. Inserting the carousel’s structure into a container with a fluid width will also make the carousel fluid. Javascript KeyCodes. JavaScript - Galileo Computing - OpenBook. JsAnim - Free JavaScript Animation Library. Getting Started with the JavaScript Version of the GreenSock Animation Platform (GSAP) « GreenSock. The GreenSock Animation Platform (GSAP) animates anything JavaScript can touch (CSS properties, SVG, React, canvas, generic objects, whatever) and solves countless browser inconsistencies, all with blazing speed (up to 20x faster than jQuery).

Getting Started with the JavaScript Version of the GreenSock Animation Platform (GSAP) « GreenSock

See "Why GSAP? " to learn why it's used by 6,500,000 sites and every major brand. Hang in there through the learning curve and you'll discover how addictive animating with code can be. We promise it's worth your time. Quick links We'll cover the most popular features here but keep the GSAP docs handy for all the details. First, let's talk about what GSAP actually does... GSAP as a property manipulator Animation ultimately boils down to changing property values many times per second, making something appear to move, fade, spin, etc. For example, changing the x coordinate of an object from 0 to 1000 over the course of 1 second makes it move quickly to the right. Turn.js: The page flip effect in HTML5. 10 handy jQuery mobile tips and snippets to get you started.

As with any new technology, getting started is often the hardest part.

10 handy jQuery mobile tips and snippets to get you started

With this frustration in mind, we have put together some of my handiest tips, tricks and code snippets related to the jQuery Mobile library. Because this is not a full-on primer for using the library, we will skip over some of the things that become rather obvious as you get started and instead get straight to the items that become rather frustrating or troublesome.

jQuery Fundamentals. Slick - the last carousel you'll ever need. Set up your HTML markup.

slick - the last carousel you'll ever need

Home V1 w/Revolution Slider - Quantum. Simple jQuery Accordion – Norman's Blog. Avgrund - A modal UI concept. BookBlock: A Content Flip Plugin - Demo 2. January 2013 Monday Tuesday Wednesday Thursday Friday Saturday Sunday.

BookBlock: A Content Flip Plugin - Demo 2

Create a Parallax Website using Stellar.js. jQuery custom selectboxes. jQuery++ jQuery One Page Navigation Plugin. Sep 26, 2010 When appropriate, I am a fan of the one-page sites. I really like the ones that add smooth scrolling and highlight the navigation depending upon which part of the page you have scrolled to. Here are a few examples: Brizk Design and Crush + Lovely.

I finally have a freelance project where a one-page site makes sense, so I needed to write the JavaScript to make the navigation work how I wanted. I wanted the page to scroll smoothly when the navigation was clicked, so I used the jQuery ScrollTo plugin. If you want to skip ahead, you can check out the demo and download the plugin from GitHub. The Markup. JQuery: Textfeld (input) auslesen und manipulieren. Dropzone.js. Some jQuery Functions And Their JavaScript Equivalents. In light of my recent forays into the JavaScript DOM world, I'd decided to do a little research and write a snippet collection based on jQuery functions and their JavaScript equivalents. I think jQuery is a great tool, and it has done great things for me and many others as developers. But I'm a firm believer that nowadays, JavaScript is an indispensable tool to keep in your arsenal.

You Might Not Need jQuery. You Don't Need jQuery! – Free yourself from the chains of jQuery by embracing and understanding the modern Web API and discovering various directed libraries to help you fill in the gaps.