Blog Archives

jQuery Font Selector – version 2

A guy called Rob just commented on the jQuery Font picker I posted a while back – and asked whether I could provide an example. Looking at the code I thought it was in need of a refresh, so have just rewritten it. You can see the jQuery font selector demo here. The plugin hasn’t [...]

JQuery Multiple file upload

I’ve been on the hunt for many years for a decent way of uploading multiple files at once via a browser-based upload form. Finally there is one that seems to do a great job, and be fairly easy to install – the JQuery Uploadify plugin. There’s a couple of ‘gotchas’ that I came across and [...]

JQuery AJAX using XML in Internet Explorer

I spent a while this morning trying to figure out why an JQuery AJAX call wasn’t working in Internet Explorer 8. The call was being made to a PHP script which was outputting XML. I had checked the XML was valid and (no surprises) it was all working fine in Firefox. Eventually I found this [...]

Loading XML with JQuery – an XCAL feed

XCAL is an XML implementation of the iCal format, and as such it can be easily read with JQuery. So, if you’re implementing some kind of calendaring system online, one way to accomplish it could be to read the events from your database, output them in XCAL format, and display them online using our old [...]

Loading XML with JQuery

Thankfully JQuery makes it really easy to load a variety of data formats with AJAX: Text HTML JSON (JavaScript Object Notation) XML Within applications I generally use JSON, as it is less verbose and easier to process than XML. Check out the native PHP5 function or the PEAR JSON package for a way to easily [...]

JQuery Search Suggester Plugin

While writing a simple knowledgebase application for my web company I wanted to create the facility to automatically suggest articles as the user typed in a question. So I came up with the following ‘suggester’ plugin. To get it working, you need to: Attach it to an input field Pass in the backend URL to [...]

Simplifying HTML Form CSS with JQuery

Thanks to CSS, it’s possible to make nicely styled web forms without a table in site. Often we wish to add CSS styling to our input fields – but there’s a snag which is any checkbox or radio field ends up with the same styling. We end up with ugly borders and wierd gaps everywhere [...]

5 Awesome JQuery Plugins

A bit like the film “High Fidelity”, I thought I’d do a top 5 of awesome JQuery plugins! So here goes: JQuery UI – all sorts of goodies here – make items on pages draggable, droppable, sortable and more. There’s also handy widgets such as a great date picker, accordion lists, tabs and more – [...]

JQuery AJAX Uploader Plugin

One of the features I wanted to include in our new CMS system was the ability for users to upload files via AJAX, without using a form post to reload the page, and so that they can begin uploading a new file while an upload is already in progress. JQuery to the rescue! The plugin [...]

A simple JQuery font chooser plugin

Update: I’ve now created a jQuery font picker v2 I needed a way to quickly and easily generate a list of web safe fonts for the theme editor in a new CMS I am working on. So I quickly rustled up the following plugin – it’s very basic, and I initially had it showing the [...]