Archive | jQuery

RSS feed for this section

(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" […]