Archive for December, 2006

This is an up date to Using Script.aculo.us to Toggle a DIV with the added bonus of persisting the state of the Toggled DIV(s). This is not as an elegant solution because it doesn’t to use the Effect.Toggle Function but it does allow you to use any pair of Combination Effects.

This is the Uber-Web 2.0 function of the Year, In Place Editing. This function is mostly associated with Ruby and other ‘fluffy’ web apps but once you figure out how easy it is to add to an app you’ll be amazed.
In this short tutorial I will show you how to add InPlaceEditing [...]

December 20th, 2006

Using phpFlickr and YUI to Create a Ajax Enabled Flickr Slideshow

Comments Off, AJAX, PHP, by jay.

This is an update to this post with the change being that I swapped out Lightbox JS (Scriptaculous/Prototype) in place of the Yahoo! User Interface Library.
The result is a minor performance increase using the YUI over Prototype.

This is a nice little trick that I am constantly going back to Script.aculo.us to look up. This Hides/Shows (Toggles) a DIV (or any element) with the click of a link using the Script.aculo.us Effect.toggle(’ELEMENT’,’EFFECT’) function. Script.aculo.us has 16+ Combination Effects but only a few can be used with Toggle.

The title says it all. In this tutorial I’ll explain how to build a dynamic data grid for browsing data. This is not a perfect data grid solution that can be just dropped onto a page, it requires a bit of hands on tweaking, but the end result is pretty amazing.
This code uses [...]

December 7th, 2006

Media Search Mashup with Yahoo! Videos, YouTube and Flickr

Comments Off, PHP, by jay.

This is another little project that I’ve been hacking around with which simply uses the Yahoo! Video and YouTube Search Service API’s and just for fun phpFlickr to find videos and images.
I’ve managed to figure out that making a REST request can be broken down to 6 lines of code. Six!

The WebService URL
4 Lines [...]

For a few months now I have been playing around with some of the cool API’s listed at ProgrammableWeb. As fun as it is to use these web services it’s not fun trying to get your head around the Request/Response aspects of web http requests. When it comes to .NET and Web Services [...]