Skip to content

Instantly share code, notes, and snippets.

@gilbarbara
Last active August 29, 2015 14:06
Show Gist options
  • Save gilbarbara/ee074d05f1850661578c to your computer and use it in GitHub Desktop.
Save gilbarbara/ee074d05f1850661578c to your computer and use it in GitHub Desktop.
fun stuff for plug.dj
$('#playback').append('<img id="disco-ball" src="http://gilbarbara.com/ide/discoBall.gif" style="position:absolute;top: 0px;left: 29%;opacity:0;">');
$('#playback').append('<img class="dancers" src="http://gilbarbara.com/ide/dancer.gif" style="position:absolute;top: 70px;left: -26%;opacity:0;""><img class="dancers" src="http://gilbarbara.com/ide/dancer.gif" style="position:absolute;top: 70px;right:-26%;opacity:0;"">');
$('#disco-ball').animate({ top: 150, opacity: 1 }, 2000);$('.dancers').delay(1000).animate({ opacity: 1 }, 2000);
@gilbarbara
Copy link
Author

Copy and paste this in your browser's console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment