Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var j=j||1388395; // bangtidy.net
- function dnx_preview(start){
- if (!start) start=110000;
- for (var a=[],i=start;i>start-450;i--) a.push('<img src="http://127.0.0.'+ (i%10+1) + '/wp1/hq.bangtidy.net/www-bangtidy-net-'+i+'.jpg?resize=240,320" style="width:240px;height:320px" onerror="rem2(this)" />');
- if (window.stop)window.stop();
- document.body.innerHTML='<div id="data1" style="width:1440px">'+a.join("")+'</div>';
- 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>');
- 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>');
- document.title="bang tidy - " +start;
- }
- function rem1(el){setTimeout(function(){el.parentElement.removeChild(el)},100);}
- function rem2(el){el.style.display="none";}
- function rem3(el){el.style.visibility="hidden";}
- dnx_preview(j);
- document.onkeypress=function(e){if (e.keyCode==106){dnx_preview(j-=450);setTimeout(window.scroll,200,0,0);};if (e.keyCode==107){dnx_preview(j+=450);setTimeout(window.scroll,200,0,0);}};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement