Advertisement
rg443

dnx_preview (1940935)

May 5th, 2013
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var j=j||1940935;
  2. function dnx_preview(start){
  3. if (!start) start=1447413;
  4. for (var a=[],i=start;i>start-450;i--) a.push('<img src="http://127.0.0.'+ (i%10+1) + '/wp1/cache.desktopnexus.com/thumbnails/'+i+'-bigthumbnail.jpg?resize=320,200" style="width:320px;height:200px" onerror="rem2(this)" />');
  5. if (window.stop)window.stop();
  6. document.body.innerHTML='<div id="data1" style="width:1280px">'+a.join("")+'</div>';
  7. document.body.insertAdjacentHTML("beforeEnd",'<br><a href="#" onclick="dnx_preview(j-=450);setTimeout(window.scroll,200,0,0);return false;" style="font:menu;font-size:14pt;color:black;text-decoration:none;">next</a>');
  8. document.body.insertAdjacentHTML("beforeEnd",' <a href="#" onclick="dnx_preview(j+=450);setTimeout(window.scroll,200,0,0);return false;" style="margin-left:10pt;font:menu;font-size:9pt;color:black;text-decoration:none;"> move up</a>');
  9. document.title="dnx - " +start;
  10. }
  11. function rem1(el){setTimeout(function(){el.parentElement.removeChild(el)},100);}
  12. function rem2(el){el.style.display="none";}
  13. function rem3(el){el.style.visibility="hidden";}
  14. dnx_preview(j);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement