If you’re looking for a gifted songwriter, I highly recommend Elliot Smith. Joel Dodge, a fellow participant at the Utah math camp on L-functions in June/July, put me onto Smith. I like Either/Or, but his later (more accessible) Figure 8 is truly special.
Happy listening!
Categories: Uncategorized
I’m hardly a web 2.0 guru, but the following jQuery tidbit makes it easy to move forward/backward in the DOM. I use it like $('.input').nextOf('.input').focus().
(function($){
$.fn.prevOf = function(selector, options) {
var defaults = { };
var options = $.extend(defaults, options);
var t = $(selector);
var i = t.index($(this).eq(0));
if (i > -1)
return t.eq(i-1);
return this;
}
})(jQuery);
(function($){
$.fn.nextOf = function(selector, options) {
var defaults = { };
var options = $.extend(defaults, options);
var t = $(selector);
var i = t.index($(this).eq(0));
return t.eq(i+1);
}
})(jQuery);
Categories: Uncategorized