jpcody + jquery   27

Easily Test jQuery Pre-Release Versions - Bocoup
It’s always exciting when a new major jQuery version (x.x.0) full of bug fixes, new features and performance improvements is released. But that fresh, out of the box excitement can get replaced with anxiety if you find bugs or performance issues with the latest version. This post will cover a way to include jQuery while provide a way to test pre-release versions of jQuery.
javascript  jquery 
february 2012 by jpcody
selectors selectoring
This article is my attempt at explaining what is going on at a high-level when you do $(). The code samples below are largely simplified from the actual jQuery/Sizzle source. If you find any inaccuracies or a point you would like further clarified, please let me know on twitter! Thanks!
javascript  performance  jquery 
december 2011 by jpcody
jQuery File Upload Demo
Click to select or drag-and-drop multiple files (review the Notes for this demo):
javascript  jquery  plugin  html5 
february 2011 by jpcody
Beautiful Element Creation with jQuery — Article — The Nerdary
jQuery's new(ish) element creation syntax drops 'bows. For those of you who don't know — which I'm banking on quite a bit — jQuery lets you create elements and then attach an object of parameters to it. It will then use those parameters to create the element and its attributes.
jquery  javascript 
january 2011 by jpcody
Essential JavaScript Design Patterns For Beginners
At the beginning of this book I will focusing on a discussion about the importance and history of design patterns in any programming language. If you're already sold or are familiar with this history, feel free to the chapter 'What is a Pattern?' to continue reading.
javascript  jquery 
november 2010 by jpcody
​j​Q​u​e​r​y​ ​R​e​g​u​l​a​r​ ​E​x​p​r​e​s​s​i​o​n​s​ ​R​e​v​i​e​w​ ​(​R​e​v​:​2​0​1​0​0​9​2​1​_​1​7​0​0​)
jQuery is a very popular Javascript framework which internally utilizes a number of regular expressions. Most of these regexes work correctly and accurately match (and fail to match) their intended targets. However, quite a few of these can be improved with regard to efficiency (some with regard to matching, others with regard to non-matching - both are important). A comprehensive review of all jQuery regular expressions was recently performed, and this article presents the results of this analysis and offers improved versions. (The jQuery version analyzed was 1.4.3pre: Git commit #747ba7defd82bffa6c7ccb69e53b834cbfddb62c 20-Sep-2010.)
javascript  jquery  regex 
september 2010 by jpcody
​j​Q​u​e​r​y​ ​E​v​e​n​t​s​:​ ​S​t​o​p​ ​(​M​i​s​)​U​s​i​n​g​ ​R​e​t​u​r​n​ ​F​a​l​s​e​ ​|​ ​F​u​e​l​ ​Y​o​u​r​ ​C​o​d​i​n​g
It is in these very first examples that bad habits are formed as users continue to use return false; whenever they want to cancel the default browser action. I am going to cover two very important topics in this article relating to the canceling of browser events:
jquery  returnfalse  javascript 
september 2010 by jpcody
jQuery Book: Selecting Elements
Contains good advice on speed enhancements for JS.

If you've made a selection that you might need to make again, you should save the selection in a variable rather than making the selection repeatedly.
jquery  speed  selectors 
august 2010 by jpcody
Accomplishing Common Tasks Using MooTools, jQuery, and Dojo III
My love of the JavaScript frameworks knows no bounds. Unfortunately too many developers stick to one framework without taking the time to learn the others. The more frameworks you know, the better a programmer you will be and the more money you'll make. Let me show you how to accomplish a few more tasks using three JavaScript frameworks: MooTools, jQuery, and Dojo.
mootools  jquery  dojo  comparison  javascript 
august 2010 by jpcody
Don’t let jQuery’s $(document).ready() slow you down | Encosia
jQuery’s $(document).ready() event is something that you probably learned about in your earliest exposure to jQuery and then rarely thought about again. The way it abstracts away DOM timing issues is like a warm security blanket for code running in a variety of cold, harsh browser windows.
javascript  jquery  documentready  bestpractices 
august 2010 by jpcody
Lightbox_me - Stupidly Simple Lightboxing
Have you ever had a DOM element that you wanted lightboxed, but didn't want all the fanciness of all the lightbox-related plug-ins out there? Lightbox_me is for you.

Lightbox_me is an essential tool for the jQuery developer's toolbox. Feed it a DOM element wrapped in a jQuery object and it will lightbox it for you, no muss no fuss.
jquery  lightbox  plugin 
may 2010 by jpcody
Enabling the Back Button | jQuery for Designers - Tutorials and screencasts
As we build more and more Ajaxy applications, and our apps reside on a single page, the browser’s native back button can get more and more broken. This episode will show you how to re-enable the back button on your apps.
ajax  jquery  back-button  tutorials  ux 
may 2010 by jpcody
Ben Alman » jQuery equalizeBottoms
With jQuery equalizeBottoms you can “equalize” the bottoms of multiple elements, making columns heights even, even when CSS refuses to help.
jquery  plugin 
january 2010 by jpcody
jQuery 1.4 Released: The 15 New Features you Must Know | Nettuts+
jQuery 1.4 was recently released. This wasn't simply a maintenance release as some had speculated; there are many new features, enhancements and performance improvements included in 1.4! This post covers the new features and enhancements that you may find beneficial.
jquery 
january 2010 by jpcody
How to Build a Shopping Cart using CodeIgniter and jQuery - Nettuts+
CodeIgniter is an open source PHP web application framework with a lot of features. Recently, thanks to the latest update, a new feature was added to this framework, called the Cart Class. In this tutorial, we're going to take advantage of this new class, and write a shopping cart system, with a touch of jQuery added in.
jquery  ecommerce  codeigniter 
december 2009 by jpcody
Get X, Y Coordinates of Mouse Within Box
The below code will give you the X, Y coordinates of a mouse click within a given box. Removing all the stuff about the offset, you can easily get the X, Y coordinates of the click relative to the browser window.
jquery  snippets 
november 2009 by jpcody
Simple Draggable Element Persistence with jQuery - Nettuts+
Drag something, drop it, and have it stay there. For good.
jquery 
november 2009 by jpcody
Mobile safari swipe
JavaScript onswipe selector
jquery  mobile 
september 2009 by jpcody
jQuery lightboxes
Top 10 ways to create jquery lightboxes
jquery 
july 2009 by jpcody

Copy this bookmark:



description:


tags: