garand/sticky — pull request #53 by chriskinch (2013-05-21 10:03:12+00:00)
Title: Added the option for getStickyWidth to be a number as well as a jQuery s...

Where before you could only do this:

$(".stickyelement").sticky({
topSpacing:0,
getWidthFrom:$('.someclass')
});

You can now do this:

$(".stickyelement").sticky({
topSpacing:0,
getWidthFrom:$('.someclass').outerWidth()
});

Or this too:

$(".stickyelement").sticky({
topSpacing:0,
getWidthFrom:300
});