SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.onload = function() {
  2.     display_logo();
  3. };
  4.  
  5. function display_logo() {
  6.     var element = document.createElement("img");
  7.     element.setAttribute('src', 'logo.png');
  8.     element.classList.add("logo");
  9.     $("#page").append(element);
  10.     $('.logo').on('load', function() {
  11.         //animation
  12.     });
  13. }
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