Guest User

Untitled

a guest
Dec 23rd, 2011
81
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  4.  
  5. <head>
  6.  
  7. <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
  8.  
  9. <title>Pr3dator Craft!</title>
  10.  
  11. <script type="text/javascript" src="script/jquery.js"></script>
  12.  
  13. <script type="text/javascript" src="script/cufon.js">
  14.  
  15. </script>
  16.  
  17. <script src="script/TeXGyreAdventor_400.font.js" type="text/javascript"></script>
  18.  
  19. <script type="text/javascript">
  20.  
  21.  
  22.  
  23. //Configure below to change URL path to the snow image
  24.  
  25. var snowsrc="snow.gif"
  26.  
  27. // Configure below to change number of snow to render
  28.  
  29. var no = 10;
  30.  
  31. // Configure whether snow should disappear after x seconds (0=never):
  32.  
  33. var hidesnowtime = 0;
  34.  
  35. // Configure how much snow should drop down before fading ("windowheight" or "pageheight")
  36.  
  37. var snowdistance = "pageheight";
  38.  
  39.  
  40.  
  41. ///////////Stop Config//////////////////////////////////
  42.  
  43.  
  44.  
  45. var ie4up = (document.all) ? 1 : 0;
  46.  
  47. var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
  48.  
  49.  
  50.  
  51. function iecompattest(){
  52.  
  53. return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
  54.  
  55. }
  56.  
  57.  
  58.  
  59. var dx, xp, yp; // coordinate and position variables
  60.  
  61. var am, stx, sty; // amplitude and step variables
  62.  
  63. var i, doc_width = 800, doc_height = 600;
  64.  
  65.  
  66.  
  67. if (ns6up) {
  68.  
  69. doc_width = self.innerWidth;
  70.  
  71. doc_height = self.innerHeight;
  72.  
  73. } else if (ie4up) {
  74.  
  75. doc_width = iecompattest().clientWidth;
  76.  
  77. doc_height = iecompattest().clientHeight;
  78.  
  79. }
  80.  
  81.  
  82.  
  83. dx = new Array();
  84.  
  85. xp = new Array();
  86.  
  87. yp = new Array();
  88.  
  89. am = new Array();
  90.  
  91. stx = new Array();
  92.  
  93. sty = new Array();
  94.  
  95. snowsrc=(snowsrc.indexOf("thirdagepk.net")!=-1)? "snow.gif" : snowsrc
  96.  
  97. for (i = 0; i < no; ++ i) {
  98.  
  99. dx[i] = 0; // set coordinate variables
  100.  
  101. xp[i] = Math.random()*(doc_width-50); // set position variables
  102.  
  103. yp[i] = Math.random()*doc_height;
  104.  
  105. am[i] = Math.random()*20; // set amplitude variables
  106.  
  107. stx[i] = 0.02 + Math.random()/10; // set step variables
  108.  
  109. sty[i] = 0.7 + Math.random(); // set step variables
  110.  
  111. if (ie4up||ns6up) {
  112.  
  113. if (i == 0) {
  114.  
  115. document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>");
  116.  
  117. } else {
  118.  
  119. document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>");
  120.  
  121. }
  122.  
  123. }
  124.  
  125. }
  126.  
  127.  
  128.  
  129. function snowIE_NS6() { // IE and NS6 main animation function
  130.  
  131. doc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10;
  132.  
  133. doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")? iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight;
  134.  
  135. for (i = 0; i < no; ++ i) { // iterate for every dot
  136.  
  137. yp[i] += sty[i];
  138.  
  139. if (yp[i] > doc_height-50) {
  140.  
  141. xp[i] = Math.random()*(doc_width-am[i]-30);
  142.  
  143. yp[i] = 0;
  144.  
  145. stx[i] = 0.02 + Math.random()/10;
  146.  
  147. sty[i] = 0.7 + Math.random();
  148.  
  149. }
  150.  
  151. dx[i] += stx[i];
  152.  
  153. document.getElementById("dot"+i).style.top=yp[i]+"px";
  154.  
  155. document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px";
  156.  
  157. }
  158.  
  159. snowtimer=setTimeout("snowIE_NS6()", 10);
  160.  
  161. }
  162.  
  163.  
  164.  
  165. function hidesnow(){
  166.  
  167. if (window.snowtimer) clearTimeout(snowtimer)
  168.  
  169. for (i=0; i<no; i++) document.getElementById("dot"+i).style.visibility="hidden"
  170.  
  171. }
  172.  
  173.  
  174.  
  175.  
  176.  
  177. if (ie4up||ns6up){
  178.  
  179. snowIE_NS6();
  180.  
  181. if (hidesnowtime>0)
  182.  
  183. setTimeout("hidesnow()", hidesnowtime*1000)
  184.  
  185. }
  186.  
  187. </script>
  188.  
  189. <script type="text/javascript" src="script/slides.min.jquery.js"></script>
  190.  
  191. <script type="text/javascript">
  192.  
  193. $(function(){
  194.  
  195. $('#slider').slides({
  196.  
  197. preload: true,
  198.  
  199. preloadImage: 'img/loading.gif',
  200.  
  201. play: 5000,
  202.  
  203. pause: 2500,
  204.  
  205. auto: 2000,
  206.  
  207. hoverPause: true,
  208.  
  209. animationComplete: function(current){
  210.  
  211. $('.caption').animate({
  212.  
  213. bottom:0
  214.  
  215. },200);
  216.  
  217. },
  218.  
  219. slidesLoaded: function() {
  220.  
  221. $('.caption').animate({
  222.  
  223. bottom:0
  224.  
  225. },200);
  226.  
  227. }
  228.  
  229. });
  230.  
  231. });
  232.  
  233. </script>
  234.  
  235. <link rel="stylesheet" href="css1/global.css" />
  236.  
  237. <link rel="stylesheet" href="css1/reset.css" />
  238.  
  239. <link rel="stylesheet" href="css1/960.css" />
  240.  
  241. <link rel="stylesheet" href="css1/style.css" />
  242.  
  243. </head>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×