input[type="text"]
and textarea
that automatically expands to fit their content.
Form inputs that automatically submit the form on change
or input
events.
Standard Grunt configuration for Brightspot projects.
select
element replacement.
Social sharing bar.
Miscellaneous utility functions.
Mobile slide menu.
a jQuery plugin for deep-HTML truncation and toggling
a jQuery plugin for lazy-loading images, then getting on with your code
a JavaScript implementation of element queries by Jonathan Neal, forked with modifications for optimized triggering
jQuery.fn.center = function() {
this.css("position","absolute");
this.css("top", Math.max(0, (($(window).height() - this.outerHeight()) / 2) +
$(window).scrollTop()) + "px");
this.css("left", Math.max(0, (($(window).width() - this.outerWidth()) / 2) +
$(window).scrollLeft()) + "px");
return this;
}