Musings
Recent musings
Flickr short URL bookmarklet
13th June 2010
I was getting annoyed with the whole view source > find canonical link > copy shenanigans when trying to get a Flickr short URL so I’ve put this little chap together. It’s a bit quick and dirty, so if you run into problems just let me know and I’ll sort them out. Similarly, if you find it useful drop me a line.
I’ve tried to add the bookmarklet to this entry, but ExpressionEngine doesn’t like the idea, so it’s on it’s own page here.
February 2010
Dan Wellman’s jQuery UI 1.7 book
21st
The jQuery ui is essentially a set of pre built, ready to use JavaScript widgets based (obviously) on the jQuery framework. They can be really useful straight out of the box, or as the foundation for something more complex, and they also come packaged with a decent set of CSS themes.
According to Dan Wellman himself, his book is written for…
…front end designers and developers who need to quickly learn how to use the jQuery UI library. To get the most out of this book you should have a good working knowledge of HTML, CSS and JavaScript ,and will need to be comfortable using jQuery, the underlying foundation of the jQuery UI.
November 2009
jQuery UI 1.7 book by Dan Wellman - a precursor
11th
Dan Wellman has just launched his new book about the jQuery UI and his publishers have sent me a copy to review. I’ll have more on that later, but I’m certainly looking forward to reading it; here’s how he describes the book
An example-based approach leads you step-by-step through the implementation and customization of each library component and its associated resources in turn. To emphasize the way that jQuery UI takes the difficulty out of user interface design and implementation, each chapter ends with a `fun with’ section that puts together what you’ve learned throughout the chapter to make a usable and fun page. In these sections you’ll often get to experiment with the latest associated technologies like AJAX and JSON.
I really like the idea of the ‘fun with’ sections, quite often the biggest barrier to absorbing a text book is the tedium of the examples.
October 2009
ExpressionEngine autocomplete search / jump menu with jQuery
7th
This tutorial will show you how to build an text input that will give autocomplete / auto suggestions via AJAX straight from an ExpressionEngine template then redirect straight to the entry. It could be used for searching, or shortcuts to particular entries, I have it working for the latter on a recent project. It will allow you to …
- Start typing parts of an entry
- Scroll through the autocompleted suggestions that pop up
- Click one (or use the keyboard shortcuts)
- Get redirected to the relevant entry on the relevant page
April 2009
Free customised live chat on your website with Google Talk
21st
There are many live chat apps out there, and they’re mostly very expensive. Good old Google have of course created a live chat functionality, but not particularly advertised it. In fact you have to do a little searching and wrangling to get it to work properly for you.
In this tutorial I’ll show you how to
- Integrate the Google Talk / Live Chat functionality into your own website
- Customise the visuals for if you’re on or offline
- Display the chat window on your own site with a nice lightbox plugin
January 2009
Extending the jQuery Sortable With Ajax & MYSQL
3rd
I’ve had a lot of response to the jQuery sortable list post I wrote a while back, and a lot of them ask how to send the results to a database. I’ve often said the best thing to do would be to update it by AJAX, but I’ve never really explained how. So here it is!
- You can see the demo here
- And download the source code here
April 2008
jQuery Sortable Lists With Drag Drop Handle
24th
this post has been extended in the new Extending the jQuery Sortable With Ajax & MYSQL post
I’ve recently made use of a drag / drop style list that will remember the order of the list. If you use the standard jQuery sortable items, you’ll get the two following problems:
- You won’t be able to click on any items in the sortable list you have
- You’ll probably want an update of the order of the list after every change.
I did find a solution to the problem over at Scott Sauyet’s site, but I needed a little more… The following example will do both, it uses the handle and update options on the .sortable item. By adding these simple items you can produce a pretty advanced sortable list. You could even add AJAX into that update command and automatically update your database with the new values every time you change then removing the need to refresh, and that’s very web 2.0.
Page 1 of 1 pages
Categories
Pick a category below to filter out all the noise.
Search musings
Can't find what you're looking for? Tap it in and I'll try and dig it out for you.