Posts tagged as:

jQuery

Improve Google Analytics load delays using jQuery

I’ve spoken about the complex interdependencies of modern web applications before so today’s massive failure of Google services (#GoogleFail) reminds us again to be careful and deliberate when building our applications.
For my own sites, I’ve noticed occasional slowdowns while loading Google Analytics. While the analytics are important to me, they’re not important to you (my [...]

Read the full article → May 14, 2009

jQuery date chooser

Providing a simple, consistent method for allowing your end-users to enter a date in a form is another great reason to use jQuery and jQuery UI. There have been many date selection tools created — you may have invented one yourself — but few are as great as the jQuery UI datepicker.
As with all things [...]

Read the full article → May 12, 2009

Using Google docs as a data store

Have you ever wished you had a web-accessible data store for a project but you either can’t or prefer not to create a database? Recently while developing a Google gadget, I ran into just that scenario. The gadget needs to display some mostly read only data. By mostly, I mean that the data needs to [...]

Read the full article → May 6, 2009

Building an Ajax content proxy in PHP

Last week I wanted to write an article about using Google docs as a data store for use in Javascript, but in order to do so, I first need to provide a basic article about content proxies.
For security reasons, Ajax requests are only allowed to domains from which the code originates. For example, if your [...]

Read the full article → May 5, 2009

jQuery tabs

I’ve finally had a chance to implement a solution with jQuery tabs and I was very pleased with the simplicity of creating a very simple tabbed interface. I’ve used several tab solutions before the jQuery UI solution, and I definitely prefer the jQuery solution (yet again).
To set up a basic tabbed layout, start with an [...]

Read the full article → April 30, 2009

jQuery autocomplete

Autocompletion of web-based forms has become so common that it has reached the point of being an expectation. Fortunately (again), there is a jQuery solution that makes this a simple addition to any form.
The first step is to download the jQuery Autocomplete plugin and check out the documentation. Make sure that you include the script [...]

Read the full article → April 28, 2009

jQuery parent(s)

I was recently working on an unordered list in which each item is displayed with a link that does two things: first, the metadata for the item is stored in a database via Ajax; second, the item is removed from the on-screen list so it can’t be chosen again.
For example, you might display a list [...]

Read the full article → April 27, 2009

jQuery solution: selected radio button value

The radio button element in an HTML form can be awkward to manage in Javascript. For example, assume the following form:

[-]?View Code HTML<form id="radio_form">
<fieldset>
<label><input type="radio" name="color" value="red" checked="checked" />Red</label><br />
<label><input type="radio" name="color" value="yellow" />Yellow</label><br />
<label><input type="radio" name="color" [...]

Read the full article → April 20, 2009

jQuery plugin: Media Gallery

I just released a small jQuery plugin and created an open source project for it. The plugin was written based on a request for something similar. I created the open-source project for it mostly as an exercise to see how Google Code works.
You can learn more about my jQuery Media Gallery plugin here.

Read the full article → April 15, 2009

jQuery modal dialog

Coming from the world of Windows software development, the concept of a modal dialog box is an absolute expectation. Most often such dialogs are used to gather required information from the user while ensuring that nothing is clicked or altered in the main application window. When moving to the web world, it’s a bit jarring [...]

Read the full article → April 9, 2009