Nothing Insightful

  • Archive
  • RSS

Dribbble AJAX Pager [user.js]

A Safari extension came out this week that enhanced Dribbble by removing the need for thumbnails and increasing the width of the central pane. It inspired me to put together a quick Greasemonkey script for dynamically loading in the next collection of shots and appending it to the page. This was done entirely for shits and giggles.

This was made possible by the brilliant-but-cumbersome jQuery .load() method. Although the final version has a lot of wrapper code to make it all work, the guts of this entire script is a single, amazing line of jQuery:

$.load(“?page=” + pageNumber + ” ol.dribbbles”);

If there’s any interest, I’ll turn this into a Forrst-styled lazy loader.

    • #Dribbble
    • #Forrst
    • #Greasemonkey
    • #JavaScript
    • #jQuery
    • #Safari
    • #Extension
  • 2 years ago
  • 2
  • Comments
  • Permalink
  • Share

About

My name is Tait Brown, and I'm a Melbourne-based UI designer and a front end developer. I like to make stuff.

taitbrown.com

taitbrown@gmail.com

Me, Elsewhere

  • taitems on Dribbble
  • taitems on Forrst
  • @taitems on Twitter
  • taita_cakes on Last.fm
  • Linkedin Profile
  • taitems on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr