daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function onImage(args, kwargs){
  2.    // append message to previous ones, then scroll so latest is at
  3.     // the bottom. Send 'cls' kwarg to modify the output class.
  4.     var mwin = $("#messagewindow");
  5.     mwin.append("<img src='" + args[0]+"'>" + "</img></br>"+args[1]);
  6.     mwin.animate({
  7.         scrollTop: document.getElementById("messagewindow").scrollHeight + 500
  8.     }, 0);
  9.  
  10.  
  11.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top