Tiger6117

Happy Birthday ~ Script

Apr 2nd, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 7.96 KB | None | 0 0
  1. <html>
  2. <!-- scripted by Ñasir ALi -->
  3.     <head>
  4.         <title>--==[[  Happy Birth Day   ]]==--</title>
  5.    
  6. <script type="text/javascript">
  7.     var adfly_id = 2270146;
  8. </script>
  9. <script src="https://cdn.adf.ly/js/display.js"></script>
  10.  
  11. <script type="text/javascript">//<![CDATA[
  12.    var shortest = {};
  13.    shortest.config = {
  14.        token : '459b2db96afa1e7161a15a3eeca06565',
  15.        commentMonetizer: {
  16.          enable: true
  17.        }
  18.    };
  19.    (function() {
  20.       var script = document.createElement('script');
  21.       script.async = true;
  22.       script.src = '//cdn.shorte.st/link-converter.min.js';
  23.       var entry = document.getElementsByTagName('script')[0];
  24.       entry.parentNode.insertBefore(script, entry);
  25.    })();
  26. //]]></script>  
  27. <script language='JavaScript1.2'>
  28. function disableselect(e){
  29. return false
  30. }
  31. function reEnable(){
  32. return true
  33. }
  34. document.onselectstart=new Function (&quot;return false&quot;)
  35. if (window.sidebar){
  36. document.onmousedown=disableselect
  37. document.onclick=reEnable
  38. }
  39. </script>
  40. <script>
  41. function muter2(){
  42. scrW=screen.availWidth
  43. scrH=screen.availHeight
  44. window.moveTo(0,0)
  45. window.resizeTo(10,10)
  46. window.focus()
  47. for(x=0;x<80;x++){
  48. window.resizeTo(10,scrH*x/80)
  49. }
  50. for(y=0;y<80;y++){
  51. window.resizeTo(scrW*y/80,scrH)
  52. }
  53. window.resizeTo(scrW,scrH)
  54. }
  55. document.oncontextmenu=new Function("muter2();return false");
  56. function keypressed(){alert("!Happy Birth Day <3!");}
  57. document.onkeydown=keypressed;
  58. function kasih_tau(){
  59. alert('!Happy Birth Day <3');
  60. }
  61. </script>        
  62. <script language="javascript" type="text/javascript">
  63. <!--
  64.  
  65. var text=' ... =)';
  66.  
  67. var delay = 40;                              // SPEED OF TRAIL
  68. var Xoff  = 0;                               // PIXEL COUNT FROM THE LEFT OF THE
  69.  
  70. CURSOR (- VALUES GO TO LEFT)
  71. var Yoff  = -30;                             // PIXEL COUNT FROM THE TOP OF THE
  72.  
  73. CURSOR (- VALUES GO UP)
  74. var txtw  = 14;                              // AMOUNT OF PIXEL SPACE EACH
  75.  
  76. CHARACTER OCCUPIES
  77. var beghtml = '<font color="#FF0000"><b>';   // OPTIONAL HTML CODE
  78.  
  79. THAT EFFECTS WHOLE TEXT STRING SUCH AS FONT COLOR, SIZE, ETC.
  80. var endhtml = '<\/b><\/font>';               // END HTML CODE. MOSTLY USED IF
  81.  
  82. ABOVE SETTING IS USED.
  83.  
  84. ns4 = (navigator.appName.indexOf("Netscape")>=0 && document.layers)?
  85.  
  86. true : false;
  87. ie4 = (document.all && !document.getElementById)? true : false;
  88. ie5 = (document.all && document.getElementById)? true : false;
  89. ns6 = (document.getElementById && navigator.appName.indexOf
  90.  
  91. ("Netscape")>=0 )? true: false;
  92.  
  93. var txtA = new Array();
  94. text=text.split('');
  95. var x1=0;
  96. var y1=-1000;
  97. var t='';
  98.  
  99. for(i=1; i <= text.length; i++) {
  100.     t+=(ns4)? '<layer name="txt'+i+'" top="-100" left="0"
  101.  
  102. width="'+txtw+'" height="1">' : '<div id="txt'+i+'" style="position:absolute;
  103.  
  104. top:-100px; left:0px; height:1px; width:'+txtw+'; visibility:visible;">';
  105.     t+=beghtml+text[i-1]+endhtml;
  106.     t+=(ns4)? '<\/layer>' : '<\/div>';
  107. }
  108.  
  109. document.write(t);
  110.  
  111. function moveid(id,x,y) {
  112.     if(ns4) {
  113.         id.moveTo(x,y);
  114.     }else{
  115.         id.style.left=x+'px';
  116.         id.style.top=y+'px';
  117.     }
  118. }
  119.  
  120. function animate(evt) {
  121.     x1=Xoff+((ie4||ie5)?
  122.  
  123. event.clientX+document.body.scrollLeft:evt.pageX);
  124.     y1=Yoff+((ie4||ie5)?
  125.  
  126. event.clientY+document.body.scrollTop:evt.pageY);
  127. }
  128.  
  129. function getidleft(id) {
  130.     if(ns4)
  131.         return id.left;
  132.     else
  133.         return parseInt(id.style.left);
  134. }
  135.  
  136. function getidtop(id) {
  137.     if(ns4)
  138.         return id.top;
  139.     else
  140.         return parseInt(id.style.top);
  141. }
  142.  
  143. function getwindowwidth() {
  144.     if(ie4||ie5)
  145.         return
  146.  
  147. document.body.clientWidth+document.body.scrollLeft;
  148.     else
  149.         return window.innerWidth+pageXOffset;
  150. }
  151.  
  152. function movetxts() {
  153.     for(i=text.length;i>1;i=i-1) {
  154.         if(getidleft(txtA[i-1])+txtw*2>=getwindowwidth()) {
  155.             moveid(txtA[i-1],0,-1000);
  156.             moveid(txtA[i],0,-1000);
  157.         }else
  158.             moveid(txtA[i], getidleft(txtA[i-1])+txtw,
  159.  
  160. getidtop(txtA[i-1]));
  161.     }
  162.     moveid(txtA[1],x1,y1);
  163. }
  164.  
  165. window.onload=function() {
  166.     for(i=1;i<=text.length;i++)
  167.         txtA[i]=(ns4)?document.layers['txt'+i]:(ie4)?
  168.  
  169. document.all['txt'+i]:document.getElementById('txt'+i);
  170.         if(ns4)
  171.             document.captureEvents
  172.  
  173. (Event.MOUSEMOVE);
  174.         document.onmousemove=animate;
  175.         setInterval('movetxts()',delay);
  176. }
  177. -->
  178. </script>
  179.  
  180. <SCRIPT>
  181. window.scrollBy(0, 1)
  182. window.resizeTo(0,0)
  183. window.moveTo(0,0)
  184. //setInterval("move()",30);
  185. setTimeout("move()", 1);
  186. var mxm=50
  187. var mym=25
  188. var mx=0
  189. var my=0
  190. var sv=50
  191. var status=1
  192. var szx=0
  193. var szy=0
  194. var c=255
  195. var n=0
  196. var sm=30
  197. var cycle=2
  198. var done=2
  199. function move()
  200. {
  201. if (status == 1)
  202. {
  203. mxm=mxm/1.05
  204. mym=mym/1.05
  205. mx=mx+mxm
  206. my=my-mym
  207. mxm=mxm+(400-mx)/100
  208. mym=mym-(300-my)/100
  209. window.moveTo(mx,my)
  210. rmxm=Math.round(mxm/10)
  211. rmym=Math.round(mym/10)
  212. if (rmxm == 0)
  213. {
  214. if (rmym == 0)
  215. {
  216. status=2
  217. }
  218. }
  219. }
  220. if (status == 2)
  221. {
  222. sv=sv/1.1
  223. scrratio=1+1/3
  224. mx=mx-sv*scrratio/2
  225. my=my-sv/2
  226. szx=szx+sv*scrratio
  227. szy=szy+sv
  228. window.moveTo(mx,my)
  229. window.resizeTo(szx,szy)
  230. if (sv < 0.1)
  231. {
  232. status=3
  233. }
  234. }
  235. if (status == 3)
  236. {
  237. document.fgColor=0xffffFF
  238. c=c-16
  239. if (c<0)
  240. {status=8}
  241. }
  242. if (status == 4)
  243. {
  244. c=c+16
  245. document.bgColor=c*65536
  246. document.fgColor=(255-c)*65536
  247. if (c > 239)
  248. {status=5}
  249. }
  250. if (status == 5)
  251. {
  252. c=c-16
  253. document.bgColor=c*65536
  254. document.fgColor=(255-c)*65536
  255. if (c < 0)
  256. {
  257. status=6
  258. cycle=cycle-1
  259. if (cycle > 0)
  260. {
  261. if (done == 1)
  262. {status=7}
  263. else
  264. {status=4}
  265. }
  266. }
  267. }
  268. if (status == 6)
  269. {
  270. document.title = "Cljck"
  271. alert("Cljck")
  272. cycle=2
  273. status=4
  274. done=1
  275. }
  276. if (status == 7)
  277. {
  278. c=c+4
  279. document.bgColor=c*65536
  280. document.fgColor=(255-c)*65536
  281. if (c > 128)
  282. {status=8}
  283. }
  284. if (status == 8)
  285. {
  286. window.moveTo(0,0)
  287. sx=screen.availWidth
  288. sy=screen.availHeight
  289. window.resizeTo(sx,sy)
  290. status=9
  291. }
  292. var timer=setTimeout("move()",0.3)
  293. }
  294. </SCRIPT>  <style type="text/css">
  295. <!--
  296. body,td,th {
  297.     color: #CCCCCC;
  298. }
  299. body {
  300.     background-color: #000000;
  301. }
  302. .style26 {
  303.     font-size: 50px;
  304.     color: #FF0000;
  305. }
  306. .style36 {color: #999999}
  307. .style37 {
  308.     color: #00FF00;
  309.     font-family: Georgia, "Times New Roman", Times, serif;
  310. }
  311. .style38 {
  312.     color: #00FF00;
  313.     font-family: Georgia, "Times New Roman", Times, serif;
  314.     font-size: 36px;
  315. }
  316. .style39 {
  317.     color: #FF0000;
  318.     font-family: Georgia, "Times New Roman", Times, serif;
  319.     font-size: 18px;
  320. }
  321. .style40 {
  322.     color: #00FF00;
  323.     font-family: Georgia, "Times New Roman", Times, serif;
  324.     font-size: 18px;
  325. }
  326. .style41 {
  327.     color: #CCCCCC;
  328.     font-family: Georgia, "Times New Roman", Times, serif;
  329.     font-size: 12px;
  330. }
  331. -->
  332. </style>
  333.  
  334.     </head>
  335.  
  336.  
  337.  
  338. <link REL="SHORTCUT ICON"
  339. HREF="http://i55.tinypic.com/2z7ld11.gif">
  340.  
  341.  
  342.   <!--   <body bgcolor="#000000" spellcheck="false">
  343.        <div><font color="#00ff00">         </font>
  344. -->
  345.  <body background="http://m.pimpmyspace.org/pimp/1/2d/2de4890370a9f599fd7a.gif" bgcolor="#000000">
  346.  
  347.  
  348. <center>
  349.  
  350.  
  351. <font color="Green"><b><big><big><big><big><blink>Happy Birthday </font>
  352.  
  353. <br> <br><br>
  354.  
  355. <img src="fahim.png"/>
  356.  
  357.  
  358. <img src="http://lh3.ggpht.com/rosangala.moreira/SDOJyMNL0yI/AAAAAAAAAlY/1nQWHr4PReA/s400/a01.png" border="0" height="120" width="100">
  359. </b></span>
  360.  
  361.  <font color="green"> .:: Many Many Happy returns of the day =) ::. </font>
  362.  
  363. <img src="http://lh3.ggpht.com/rosangala.moreira/SDOJyMNL0yI/AAAAAAAAAlY/1nQWHr4PReA/s400/a01.png" border="0" height="120" width="100">
  364.  
  365. </center>
  366.  
  367.  <br>
  368.  
  369. <center><img src="http://2.bp.blogspot.com/-yasksLZgyj8/TrYh65jrznI/AAAAAAAAHkA/hk1JEiNR1Ps/s1600/animated-gif.gif"></center>
  370.  
  371.  
  372.  
  373.  
  374. <center>
  375. <p style="font-family:vendara;font-size:100px;color:Green">
  376.  
  377. (: Happy Birthday to You :)
  378.  </p></center>
  379.  
  380.  
  381.  
  382. <center>
  383. <iframe width="2" height="2" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http://api.soundcloud.com/tracks/75154931&amp;color=ff6600&amp;auto_play=true&amp;show_artwork=true"> </iframe>
  384.  
  385. </center>
  386.  
  387.  
  388.  
  389.  
  390.  
  391. <object data="haxor.twomini.com/music/hallowedbethyname.swf" width="0" height="0" type="application/x-shockwave-flash">
  392.  
  393.  
  394. <div align="center">
  395.      
  396.  
  397. <p align="center">&nbsp;</p>
  398.  
  399. </div>
  400.  
  401.  
  402.  
  403.  
  404.  </html>
Add Comment
Please, Sign In to add comment