There’s a really interesting online tutorial for creating iGoogle-like interfaces at: How To Mimic the iGoogle Interface.
I came across an apparent small bug in it’s ‘makeSortable()’ method at least in Chrome. Sortable Items are modules on the screen that can be moved around. Within makeSortable() it makes a list of the sortable modules by making a list of the non-sortable modules and then finding all the rest of the modules.
The bug is that if you don’t have any non-sortable modules, the function to find the sortable ones fails. A work-around is just to set some value into the initial notSortable variable so it always has at least one item. Search for the code:
var notSortable = ”;
and change it to something like:
var notSortable = ‘xyz123′;