dianakko

conrazoncitos de dollie jump

Oct 21st, 2021
2,492
2
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.69 KB | None | 2 0
  1. <script type="text/javascript">
  2. // <![CDATA[
  3. var speed=40; // lower number for faster
  4. var flakes=33; // number of flakes falling at a time
  5. var untidy=8; // how often do you want the flakes tidied up (high number is less often)
  6. var sizes=36; // maximum size of flakes in pixels
  7. var colour='#f2f2f2'; // colour of the snowflakes
  8.  
  9. /****************************\
  10. *Winter Snow Flakes Effect #3*
  11. * (c)2013 mf2fm web-design *
  12. * http://www.mf2fm.com/rv *
  13. * DO NOT EDIT BELOW THIS BOX *
  14. \****************************/
  15.  
  16. var boddie;
  17. var dx=new Array();
  18. var xp=new Array();
  19. var yp=new Array();
  20. var am=new Array();
  21. var dy=new Array();
  22. var le=new Array();
  23. var fs=new Array();
  24. var flaky=new Array();
  25. var swide=480;
  26. var shigh=320;
  27. var sleft=0;
  28. var starty=0;
  29. var offset=0;
  30. var tidying=0;
  31. var deeex=0;
  32. var has_focus=true;
  33. var snowflakes=new Array(9825, 9825, 9825, 9825, 9825, 9825, 9825);
  34. var ie_version=(navigator.appVersion.indexOf("MSIE")!=-1)?parseFloat(navigator.appVersion.split("MSIE")[1]):false;
  35. var plow=document.createElement("img");
  36. plow.src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAABaCAMAAABg6y9YAAADAFBMVE'+
  37. 'UEBAQcHBwiIiIQEBAXFxcSExQMDAwLCwsAAAAcHBwODw8FBgYVFRUXFhaAgIA6Ozx8fH0ODg8oKS'+
  38. 'lLSkoICAcMDAwdHRw3NzgnJicWFxc6OjuFhYUrKysSEhIKCgoMDAxUVFRfX180MjFfXl4sKy0JCQ'+
  39. 'hFRUYlJCRlZWUpKCgJCQkWFhYXFxgvLi8SERFAPz8gIB8PDw+ampoKCgowMDBzc3MfHh4sLCwDAw'+
  40. 'MDAwJRUVFPTk4BAABgYGAdHR1MTEwAAAAmJiYnJye/zdAnJycn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3EPhNu8b7DQP'+
  105. '4/J6mVjbRE2YK9MOfvtOjuKOyUQasQ0KdofVFRuZKlQARndAQV2EHPyh5147HAIL4RyI6380swrj'+
  106. 'R+L8w2DTqBAplNe74/dOiUZXuqAmXE2N7T09Nd29fXZ0RChbW9uxYmCB+16az13Lnu7p7mZtjWk8'+
  107. 'WD+niQBkbG9kZHtDPoARcLIFR2JbjS8F75/CjWzxsGCiL2HujX7b+ziu7V7W+5k5rakp4dUdRcX1'+
  108. '9YWAh/0Gx5dmixoqcWdAAK1aehCC1XKoZA0iQelKZ5BedHZ3oF6w8PiuwawBF5E+dRQOK3Q7L4Ol'+
  109. 'fOBdD08RLzFH8MIjedU/f2qkL06v5ene5kGEesrIuLiytNyfl6y44dW+B1IsXR+aEPjT3tMGSFDG'+
  110. 'dgKEaW3TcaqKur61lXFyoYfHJteHj4gwe3b9++/5Rqs3UrTdcAvJWNy6qA7wT0RAC9r//qK6kXHj'+
  111. 'ICQC9fqrYCSBVfKK3bdAjuQ/bsOXDgwLlzj88d2LPnxPexBRFKtj66GBZURdu1a20w4yDVTqB0ia'+
  112. 'akDKKkRMPdakfpvKKnaZrVaxmDVlZkNPGlr7n/CuDPIv/wnMN5NLaxGET9+tccD+I2I5DupF6tCj'+
  113. 'GUHtlz7uF+na6/v7ehQY2it3//ndSaPkVxQT1xusY4NN1wB3nkABp8mFYAcSU6OzrtvAKfXVFTg+'+
  114. 'zXHj5MKq4x8UX4rUGr1YAc3jgnj9fieULNAZDbhQ0bLszBIOmOxwgUz6rV2q+fVOnUDb0oXg4FPG'+
  115. '7o7W+51tcebQ6xGq1C8CAOQFjUg6MbSt42CXAnQ/q+vvZBLITvpOPp0Y+KysvLm7OScCtOYpYDaO'+
  116. 'KFgwe3zcMgagjUclq856EaJKMEEu5vS+e2KhxEtRHuOENw/pGhsI4apr52MNf2GWE240P1JRFBAP'+
  117. 'rwwoao1d64D43b0YpBhnWa+rsqO6Ffh6IfQkClFshO8qNhgjD2FHmjDF3rroX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WPjPzNAsRLPVaxTQtG3rjx4VRmxEccyC7my/a6Q5lxmit4rJnkMtgiX8JotGAfmtXn'+
  157. '90NTnltUfwn2JmaNuQURLPyW/nwR9/SWFGyjmJa5BoNNDsbV9uI5aM9X9mzJhNEIyc1UvJcYv8RW'+
  158. '8fM1wJkpw5ZUawaFTQ3AnuHgFjHyHYx8N1nNRliZvAfsssBXiBZvT4PyozTi0ZhG89AAAAAElFTk'+
  159. 'SuQmCC';
  160.  
  161. function addLoadEvent(funky) {
  162. var oldonload=window.onload;
  163. if (typeof(oldonload)!='function') window.onload=funky;
  164. else window.onload=function() {
  165. if (oldonload) oldonload();
  166. funky();
  167. }
  168. }
  169.  
  170. addLoadEvent(december_21);
  171.  
  172. function december_21() { if (document.getElementById) {
  173. var i;
  174. if (ie_version) {
  175. document.onfocusin=function(){has_focus=true;};
  176. document.onfocusout=function(){has_focus=false;sleft=0;};
  177. }
  178. else {
  179. window.onfocus=function(){has_focus=true;};
  180. window.onblur=function(){has_focus=false;sleft=0;};
  181. }
  182. window.onscroll=set_scroll;
  183. window.onresize=set_width;
  184. document.onmousemove=mouse;
  185. boddie=document.createElement("div");
  186. boddie.style.position="fixed";
  187. boddie.style.bottom="0px";
  188. boddie.style.left="0px";
  189. boddie.style.width="100%";
  190. boddie.style.overflow="hidden";
  191. boddie.style.backgroundColor="transparent";
  192. boddie.style.pointerEvents="none";
  193. boddie.style.zIndex="0";
  194. document.body.insertBefore(boddie, document.body.firstChild);
  195. set_width();
  196. plow.style.position="absolute";
  197. plow.style.overflow="hidden";
  198. plow.style.zIndex=9999;
  199. plow.style.bottom="0px";
  200. plow.style.left="-144px";
  201. boddie.appendChild(plow);
  202. for (i=0; i<flakes; i++) freeze_ice(Math.random()*shigh*3/4);
  203. offset=0;
  204. setInterval("winter_flakes()", speed);
  205. }}
  206.  
  207. function freeze_ice(whyp) {
  208. starty++;
  209. offset++;
  210. var f, t;
  211. start_fall(starty, whyp);
  212. f=document.createElement("div");
  213. t=document.createTextNode(String.fromCharCode(snowflakes[starty%snowflakes.length]));
  214. f.appendChild(t);
  215. t=f.style;
  216. t.color=colour;
  217. if (ie_version && ie_version<10) t.filter="glow(color="+colour+",strength=1)";
  218. else if (ie_version) t.boxShadow="0px 0px 2x 2px "+colour;
  219. else t.textShadow=colour+' 0px 0px 2px';
  220. t.font=fs[starty]+"px sans-serif";
  221. t.position="absolute";
  222. t.zIndex=1000+starty;
  223. t.top=yp[starty]+"px";
  224. t.left=xp[starty]+"px";
  225. t.lineHeight=fs[starty]+"px";
  226. flaky[starty]=f;
  227. boddie.appendChild(f);
  228. }
  229.  
  230. function start_fall(i, whyp) {
  231. fs[i]=Math.floor(sizes*(.25+.75*Math.random()));
  232. dx[i]=Math.random();
  233. am[i]=8+Math.random()*sizes*.75;
  234. dy[i]=1+Math.random()*2;
  235. xp[i]=Math.random()*(swide-fs[i]);
  236. yp[i]=whyp-fs[i];
  237. le[i]='falling';
  238. }
  239.  
  240. function set_width() {
  241. var sw, sh;
  242. if (typeof(window.innerWidth)=='number' && window.innerWidth) {
  243. sw=window.innerWidth;
  244. sh=window.innerHeight;
  245. }
  246. else if (document.compatMode=="CSS1Compat" && document.documentElement && document.documentElement.clientWidth) {
  247. sw=document.documentElement.clientWidth;
  248. sh=document.documentElement.clientHeight;
  249. }
  250. else {
  251. sw=document.body.clientWidth;
  252. sh=document.body.clientHeight;
  253. }
  254. if (sw && sh && has_focus) {
  255. swide=sw;
  256. shigh=sh;
  257. }
  258. boddie.style.height=shigh+"px";
  259. }
  260.  
  261. function winter_flakes() {
  262. var i;
  263. var c=0;
  264. for (i=0; i<starty; i++) {
  265. if (flaky[i] && le[i]!='tidying') {
  266. if (yp[i]>shigh || xp[i]>swide || xp[i]<-fs[i]) {
  267. if (offset>0) offset--;
  268. boddie.removeChild(flaky[i]);
  269. flaky[i]=false;
  270. }
  271. else if (yp[i]+offset/flakes<shigh-0.7*fs[i]) {
  272. yp[i]+=dy[i];
  273. dx[i]+=0.02+Math.random()/20;
  274. xp[i]+=deeex;
  275. flaky[i].style.top=yp[i]+"px";
  276. flaky[i].style.left=(xp[i]+am[i]*Math.sin(dx[i]))+"px";
  277. }
  278. else if (le[i]=='falling') le[i]='landed';
  279. }
  280. if (flaky[i] && le[i]=='falling') c++;
  281. }
  282. if (c<flakes) freeze_ice(0);
  283. if (offset>untidy*flakes && !tidying && Math.random()<.05) tidy_flakes();
  284. }
  285.  
  286. function tidy_flakes() {
  287. var i;
  288. tidying=true;
  289. for (i=swide; i>=-146; i-=2) setTimeout('plough('+i+')', speed*(swide-i));
  290. setTimeout('tidying=false; offset=0;', speed*(swide-i));
  291. }
  292.  
  293. function plough(x) {
  294. var i, p;
  295. plow.style.left=x+"px";
  296. for (i=0; i<starty; i++) {
  297. if (flaky[i] && le[i]!='falling') {
  298. p=xp[i]+fs[i]+am[i]*Math.sin(dx[i])-dy[i];
  299. if (p<0) {
  300. boddie.removeChild(flaky[i]);
  301. flaky[i]=false;
  302. }
  303. else if (p>x && p<x+3.5) {
  304. le[i]='tidying';
  305. xp[i]-=2;
  306. if (Math.random()<.1) {
  307. yp[i]--;
  308. flaky[i].style.top=yp[i]+"px";
  309. }
  310. flaky[i].style.left=(xp[i]+am[i]*Math.sin(dx[i]))+"px";
  311. }
  312. else if (p>x+144 && yp[i]<shigh-0.7*fs[i]) {
  313. yp[i]+=dy[i];
  314. dx[i]+=0.02+Math.random()/10;
  315. flaky[i].style.top=yp[i]+"px";
  316. flaky[i].style.left=(xp[i]+am[i]*Math.sin(dx[i]))+"px";
  317. }
  318. }
  319. }
  320. }
  321.  
  322. function set_scroll() {
  323. if (typeof(self.pageXOffset)=='number' && self.pageXoffset) sleft=self.pageXOffset;
  324. else if (document.body && document.body.scrollLeft) sleft=document.body.scrollLeft;
  325. else if (document.documentElement && document.documentElement.scrollLeft) sleft=document.documentElement.scrollLeft;
  326. else sleft=0;
  327. }
  328.  
  329. function mouse(e) {
  330. var x;
  331. if (e) x=e.pageX;
  332. else {
  333. x=event.x;
  334. set_scroll();
  335. x+=sleft;
  336. }
  337. deeex=has_focus?Math.floor(-1+3*(x-sleft)/swide):0;
  338. }
  339. // ]]>
  340. </script>
Add Comment
Please, Sign In to add comment