Created
November 5, 2015 02:17
-
-
Save findzen/77f99e38f6f88cd58f65 to your computer and use it in GitHub Desktop.
Stop. Hammer time.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function(window, document, undefined) { | |
'use strict'; | |
var img = document.createElement('img'); | |
var marquee = document.createElement('marquee'); | |
img.src = 'http://dhtmlconf.com/img/mchammer.gif'; | |
marquee.appendChild(img); | |
marquee.style.position = 'absolute'; | |
marquee.style.top = '0'; | |
marquee.style.left = '0'; | |
marquee.style.width = window.width; | |
marquee.style.zIndex = '9999999999999999'; | |
document.body.appendChild(marquee); | |
})(window, document); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(e,t,i){"use strict";var l=t.createElement("img"),d=t.createElement("marquee");l.src="http://dhtmlconf.com/img/mchammer.gif",d.appendChild(l),d.style.position="absolute",d.style.top="0",d.style.left="0",d.style.width=e.width,d.style.zIndex="9999999999999999",t.body.appendChild(d)}(window,document); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment