scrolling bits

Yay, I wrote my first jQuery plugin:

$.fn.scrollIntoView = function()
{
return this.each(function(){
this.scrollIntoView();
});
}

Wasn’t that exciting?

It gets used something like this:

$("#output div:last").scrollIntoView();

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*