View difference between Paste ID: Ck8UvuhY and cRk8G5Hr
SHOW: | | - or go back to the newest paste.
1-
document.body.insertAdjacentHTML("beforeEnd", "<div id=\"thumbgrid1\" style=\"width:1160px;margin-left:80px\">"+hl.match(/^\w+/gim).map(function(v,i){return '<img src="http://i0.wp.com/i.imgur.com/'+v+'.jpg?resize=240,320" alt=""  style="padding:25px"/>'}).join("")+"</div>"); var g=document.getElementById("thumbgrid1");setTimeout(g.scrollIntoView(),1000);
1+
// thumbgrid1, version 1
2
document.body.insertAdjacentHTML("beforeEnd", "<div id=\"thumbgrid1\" style=\"width:1160px;margin-left:80px\">"+hl.match(/^\w+/gim).map(function(v,i){return '<img src="http://i0.wp.com/i.imgur.com/'+v+'.jpg?resize=240,320" alt=""  style="padding:25px"/>'}).join("")+"</div>"); var g=document.getElementById("thumbgrid1");setTimeout(g.scrollIntoView(),1000);
3
4
5
6
// thumbgrid1, version 2
7
function thumbgrid1(){var a=hl.match(/^\w+/gim).map(function(v,i){return "<a href=\"http://i.imgur.com/"+v+".jpg\" target=\"_blank\"><img src=\"http://i0.wp.com/i.imgur.com/"+v+".jpg?resize=240,320\" alt=\"\" style=\"margin:25px\" width=\"240\" height=\"320\"/></a>"});
8
document.body.insertAdjacentHTML("beforeEnd","<div id=\"thumbgrid1\" style=\"margin-top:50px\">"+ a.join("") +"</div>");}
9
hl&& setTimeout(function(){thumbgrid1();document.getElementById("thumbgrid1").scrollIntoView(true);},200);