Skip to content

Instantly share code, notes, and snippets.

@linuxsable
Created May 10, 2012 23:36
Show Gist options
  • Select an option

  • Save linuxsable/2656586 to your computer and use it in GitHub Desktop.

Select an option

Save linuxsable/2656586 to your computer and use it in GitHub Desktop.
$("<img />").bind("load", function() {
$self
.hide()
.attr("src", $self.data(settings.data_attribute))[settings.effect](settings.effect_speed);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment