Aurgasm.us and The Hott Infinite Scrollage

Filed under: Quick Code — Written by Chrissy on Wednesday, October 31st, 2007 @ 7:04 pm

While visiting one of the best music discovery blogs ever, aurgasm.us, I noticed that the author, Paul Irish, had implemented a really slick Infinite Scroll AJAX technique which smoothly loads the next set(s) of posts without loading a new page.


This blog is awesome and the
author wrote some sweet code.

I was so impressed by the cross-browser compatibility and usability that after checking the copyright and seeing it was GPL'd, I added a slightly modified version of Paul's code to my own blog. I then changed the AJAX loading gif to one that I found @ this ajax gif generator and turned the code into a Wordpress plugin. In talking to Paul, however, I discovered that he and his friend are working on a plug-in too and theirs will actually have options. So I won't be releasing mine but if anyone can't wait until theirs is released, you can download my super simple version here. Your posts must be in the content div (which is generally the case with themes) for this to work. You may also want to remove any Next and Previous prompts.

You can see this plugin in action on the homepage of this blog or at the original source, aurgasm.us.

8 Comments   -
  • Comment by Paul Irish | November 5, 2007 @ 12:27 pm

    very cool. looks great on your site.

  • Comment by donoho | November 7, 2007 @ 7:02 pm

    FYI - I just noticed something during a passing glance at process explorer. My firefox working set was HUGE. I usually have a lot of plugins running, but don't usually go over 300MB. It was over 400. I immediately went to see if aurgasm.us was still open in a tab. Yup. Quick test: Ctl + End = Additional 10MB, Ctl + End = Additional 15MB, etc. Closing tab freed up over 200MB of RAM from the firefox.exe process.

  • Comment by superkev | December 1, 2007 @ 11:51 am

    awesome little plugin, and works like a charm. extra memory be damned! i love dynamically creating the longest webpage evar!

  • Comment by superkev | December 2, 2007 @ 9:30 pm

    hey i'm wondering if you can tell me why enabling the hott scrollage breaks my javascript lightbox plugin? i'm torn now between hott scrollage, and hott css javascript layered photos on my blog: http://journal.kevinthom.com

  • Comment by Chrissy | December 3, 2007 @ 12:41 am

    HEY SUPERKEV,
    oops caps lock. thanks for writing. not sure why it breaks... i cant really look till jan 2 because i'm down 1 arm/shoulder/typing hand till then.

    chrissy

  • Comment by superkev | December 3, 2007 @ 1:01 pm

    ouch. ok. take it easy, one-armed bandida.

  • Comment by Chrissy | December 3, 2007 @ 1:03 pm

    donoho,
    i experienced the exact same thing on his sit but not mone. perhaps it's the flash?

Leave your comment