Archive | jQuery

RSS feed for this section

The web can be anything we want it to be

I really enjoyed this chat between Bruce Lawson and Mustafa Kurtuldu where they talked about browser support and the health of the web. Bruce expands upon a lot of the thoughts in a post he wrote last year called World Wide Web, Not Wealthy Western Web where he writes:

…across the world, regardless of disposable income, regardless of hardware or network speed, people want to consume the same kinds of goods and services. And if your websites are made for …

The post The web can be anything we want it to be appeared first on CSS-Tricks.

Is jQuery still relevant?

Part of Remy Sharp’s argument that jQuery is still relevant is this incredible usage data:

I’ve been playing with BigQuery and querying HTTP Archive‘s dataset … I’ve queried the HTTP Archive and included the top 20 [JavaScript libraries] … jQuery accounts for a massive 83% of libraries found on the web sites.

This corroborates other research, like W3Techs:

jQuery is used by 96.2% of all the websites whose JavaScript library we know. This is 73.1% of all websites.…


Is jQuery still relevant? is a post from CSS-Tricks

(Now More Than Ever) You Might Not Need jQuery

The DOM and native browser API’s have improved by leaps and bounds since jQuery’s release all the way back in 2006. People have been writing “You Might Not Need jQuery” articles since 2013 (see this classic site and this classic repo). I don’t want to rehash old territory, but a good bit has changed in browser land since the last You Might Not Need jQuery article you might have stumbled upon. Browsers continue to implement new APIs that take …


(Now More Than Ever) You Might Not Need jQuery is a post from CSS-Tricks

Lazy Loading Gravatars in WordPress

Most WordPress themes show user Gravatars in the comment threads. It’s a way of showing an image with the user, as associated by the email address used. It’s a nice touch, and almost an expected design pattern these days.

Every one of those gravatars is an individual HTTP request though, like any other image. A comment thread with 50 comments means 50 HTTP requests, and they aren’t always particularly tiny files. Yeesh.

Let’s lazy load them.

The Concept

Lazy loading …


Lazy Loading Gravatars in WordPress is a post from CSS-Tricks

Need to do Dependency-Free Ajax?

One of the big reasons to use jQuery, for a long time, was how easy it made Ajax. It has a super clean, flexible, and cross-browser compatible API for all the Ajax methods. jQuery is still mega popular, but it’s becoming more and more common to ditch it, especially as older browser share drops and new browsers have a lot of powerful stuff we used to learn on jQuery for. Even just querySelectorAll is often cited as a reason to …


Need to do Dependency-Free Ajax? is a post from CSS-Tricks

New Plugin, Gambit Arrow Custom Front End Translator

I’m glad to tell you my new plugin Gambit Arrow Custom Front End Translator is available on the WordPress Plugin Directory. A supplement to the qTranslate plugin which also works independently, Translate words written directly on HTML source code, Custom Words Translator for Front End Words on HTML(portuguese, english, spanish), can be customized for other languages […]

Basic jQuery Floating Arrows Navigation Bar

This is a very simple and useful code to create a basic jQuery floating arrows navigation bar, like the one you see on the right section of this blog. Follow this 4 steps. 1) Get jQuery and jQuery scrollTo and call it on your header. ?Download download1.txt1 2 <script type="text/javascript" src="<?php bloginfo(‘template_directory’); ?>/js/jquery-1.6.1.min.js"></script> <script type="text/javascript" […]