Guest User

Untitled

a guest
Feb 2nd, 2012
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.70 KB | None | 0 0
  1.  
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Sending big files the easy way - WeTransfer</title>
  7. <meta name="keywords" content="transfer files send big large file wetransfer audio video documents applications" />
  8. <meta name="description" content="WeTransfer is a free service to send big or small files from A to B" />
  9.  
  10. <link rel="image_src" href="http://www.wetransfer.com/assets/img/weimagesrc.png" />
  11. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
  12. <script type="text/javascript" src="assets/js/swfobject.js"></script>
  13. <script type="text/javascript" src="assets/js/swfmacmousewheel.js"></script>
  14. <script type="text/javascript">
  15. <!--//
  16. var min_width = 500;
  17. var min_height = 400;
  18. var min_flash = "10.0";
  19. if(navigator.userAgent.indexOf('Mac') != -1) {
  20. min_flash = "10.1";
  21. }
  22. var target_div = "content";
  23. var target_id = "project";
  24.  
  25. function getViewportSize() {
  26. var size = [0, 0];
  27. if (typeof window.innerWidth != "undefined") {
  28. size = [window.innerWidth, window.innerHeight];
  29. }
  30. else if (typeof document.documentElement != "undefined" && typeof document.documentElement.clientWidth != "undefined" && document.documentElement.clientWidth != 0) {
  31. size = [document.documentElement.clientWidth, document.documentElement.clientHeight];
  32. }
  33. else {
  34. size = [document.getElementsByTagName("body")[0].clientWidth, document.getElementsByTagName("body")[0].clientHeight];
  35. }
  36. return size;
  37. }
  38.  
  39. function resize() {
  40. var el = document.getElementById("container");
  41. var size = getViewportSize();
  42. el.style.width = size[0] < min_width ? min_width+"px" : "100%";
  43. el.style.height = size[1] < min_height ? min_height+"px" : "100%";
  44. }
  45.  
  46. function createFullBrowserFlash() {
  47. swfobject.createCSS("html", "height:100%;");
  48. swfobject.createCSS("body", "height:100%;");
  49. swfobject.createCSS("#container", "margin:0; width:100%; height:100%; min-width:"+min_width+"px; min-height:"+min_height+"px;");
  50. window.onresize = resize;
  51. window.onresize();
  52. }
  53.  
  54. window.onbeforeunload = function() {
  55. if (transferring != "") {
  56. $.post("unload.php",{code:transferring});
  57. return transfermsg;
  58. }
  59. }
  60.  
  61. function transfer(t) {
  62. transferring = t;
  63. }
  64.  
  65. function transfer_message(t) {
  66. transfermsg = t;
  67. }
  68.  
  69. var transferring = "";
  70. var transfermsg = "";
  71.  
  72. var flashvars = {"mm1x":"true"};
  73.  
  74. var params = {};
  75. params.allowScriptAccess = "always";
  76. params.scale = "noscale";
  77.  
  78. var attributes = {};
  79. attributes.id = target_id;
  80.  
  81. if(swfobject.hasFlashPlayerVersion(min_flash)){
  82. swfobject.embedSWF("index.swf?nocache=1328199632", target_div, "100%", "100%", min_flash, "assets/swf/expressInstall.swf", flashvars, params,attributes);
  83. if (swfmacmousewheel) {
  84. swfmacmousewheel.registerObject(attributes.id);
  85. }
  86. if (swfobject.hasFlashPlayerVersion(min_flash)) {
  87. swfobject.addDomLoadEvent(createFullBrowserFlash);
  88. }
  89. } else {
  90. window.location = "/html";
  91. }
  92. //-->
  93. </script>
  94. <style type="text/css" media="screen">
  95. html, body, #container, #content { height:100%; width:100%; margin:0px; padding:0px; border:0px solid #fff;}
  96. object { display:block; }
  97. a:focus, object:focus { outline: none; -moz-outline-style: none; }
  98. </style>
  99. </head>
  100. <body>
  101. <div id="container"><div id="content"><noscript>
  102. <table width="100%" height="98%" border="0" cellpadding="0" cellspacing="0">
  103. <tr>
  104. <td align="center" valign="middle"><p><img src="/assets/img/logos/wetransfer.png" alt="WeTransfer" /></p>
  105. <p style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><strong>To use WeTransfer, please install the latest version of <a href="http://www.adobe.com/go/getflashplayer">Adobe Flash Player</a></strong></p>
  106. <p style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;">If you are not able to (or don't want to), then don't worry - we'll be launching the HTML version soon.</p>
  107. </td>
  108. </tr>
  109. </table>
  110. </noscript></div></div>
  111. <!-- Google Analytics -->
  112. <script type="text/javascript">
  113. var _gaq = _gaq || [];
  114. _gaq.push(['_setAccount', 'UA-11792855-1']);
  115. _gaq.push(['_setDomainName', '.wetransfer.com']);
  116. _gaq.push(['_trackPageview']);
  117.  
  118. (function() {
  119. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  120. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  121. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  122. })();
  123. </script>
  124. <!-- Quantcast Tag -->
  125. <script type="text/javascript">
  126. var _qevents = _qevents || [];
  127.  
  128. (function() {
  129. var elem = document.createElement('script');
  130. elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + ".quantserve.com/quant.js";
  131. elem.async = true;
  132. elem.type = "text/javascript";
  133. var scpt = document.getElementsByTagName('script')[0];
  134. scpt.parentNode.insertBefore(elem, scpt);
  135. })();
  136.  
  137. _qevents.push({
  138. qacct:"p-c1fO3W2HYOH82"
  139. });
  140. </script>
  141.  
  142. <noscript>
  143. <div style="display:none;">
  144. <img src="//pixel.quantserve.com/pixel/p-c1fO3W2HYOH82.gif" border="0" height="1" width="1" alt="Quantcast"/>
  145. </div>
  146. </noscript>
  147. <!-- End Quantcast tag -->
  148. </body>
  149. </html>
Advertisement
Add Comment
Please, Sign In to add comment