background preloader

jQuery Waypoints

jQuery Waypoints

http://imakewebthings.com/waypoints/

One page website Once in a while, something new shows up that has the power to shake the world and stimulate all people to keep moving instead of stay still, this quote applies for practically every instance in life and business. A while ago, Nike released an astonishing website named “Nike Better World” to support all the athletes around the world; the design itself was brilliant and it generated a lot of positive reviews, but the real breakthrough came thanks to the navigation system that these guys made, a fantastic vertical Parallax system. On this tutorial we’re going to undress the structure of this website and then we’re going to create something inspired by Nike’s website using jQuery and CSS.

jQuery RegEx Examples to use with .match() This is a reference post for some common RegExp (regular expressions) selectors that can be used with the jQuery.match() function. This is very handy for finding pretty much anything inside your web page text and then doing something neat with it. Also handy for validation on forms. Learn how to use Regex with these examples: Chartist - Simple responsive charts You may think that this is just yet an other charting library. But Chartist.js is the product of a community that was disappointed about the abilities provided by other charting libraries. Of course there are hundreds of other great charting libraries but after using them there were always tweaks you would have wished for that were not included. Highly customizable responsive charts Facts about Chartist

Retina graphics for your website How it works When your users load a page, retina.js checks each image on the page to see if there is a high-resolution version of that image on your server. If a high-resolution variant exists, the script will swap in that image in-place. The script assumes you use Apple's prescribed high-resolution modifier (@2x) to denote high-resolution image variants on your server. For example, if you have an image on your page that looks like this: <img src="/images/my_image.png" /> The script will check your server to see if an alternative image exists at this path: "/images/my_image@2x.png"

Parallax Tutorials. Roundup from DesignFloat The WOW effect is the very thing that can make the public interested in your online project. You can achieve this effect using parallax, for instance. Today’s roundup features Parallax Tutorials that can teach you how to create cool parallax effects using clear examples. Following them step by step, you’ll learn how to develop the awesome websites that will attract plenty of visitors. How to Encode and Decode Strings with Base64 in JavaScript Encoding and decoding a string in Base64 with JavaScript can be quite handy. It’s in no way meant to be a secure encryption method, but it is extremely useful for writing obfuscated strings to either a document (your webpage) or a cookie file without needing to worry about quotes or characters breaking things. Copy and paste the examples below in your Chrome Console to see them working. Internet Explorer 10 and above

The Difference Between Throttling and Debouncing I got these confused the other day and someone corrected me. So I tossed it on the ol' list of blog post ideas and here we are. Both of them are ways to limit the amount of JavaScript you are executing based on DOM events for performance reasons. But they are, you guessed it, different. Throttling enforces a maximum number of times a function can be called over time. Learning from Twitter An issue popped up on Twitter this past week that caused the web site to be generally unusable for many users. It appears as if attempts to scroll were unbearably slow and caused the site to be unresponsive. The Twitter team investigated and determined that if they reverted the version of jQuery that they used back to 1.4.2 from 1.4.4 the site would be responsive again.

jQuery BlockUI Plugin The jQuery BlockUI Plugin lets you simulate synchronous behavior when using AJAX, without locking the browser[1]. When activated, it will prevent user activity with the page (or part of the page) until it is deactivated. BlockUI adds elements to the DOM to give it both the appearance and behavior of blocking user interaction. Usage is very simple; to block user activity for the page: $.blockUI();

Related: