Guest User

Feedback Generator

a guest
Jul 10th, 2016
98
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html><head>
  2.  
  3. <title>feedback-generator.htm: "Feedback Generator"</title>
  4.  
  5. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  6. <meta http-equiv="Content-Style-Type" content="text/css">
  7. <meta http-equiv="Content-Script-Type" content="text/javascript">
  8. <link rel="icon" href="favicon.ico" type="image/x-icon"/>
  9. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
  10.  
  11.  
  12. <style type="text/css">
  13. A:link { color: #ffff00 }
  14. A:visited  { color: #ffff00 }
  15. A:hover { color: #ffff00; background: #000000 }
  16. </style>
  17. </head>
  18.  
  19.  
  20.  
  21. <body alink="#00FF00" bgcolor="#000000" link="#ffff00" text="#ffff00" vlink="#ffff00">
  22.  
  23.  
  24.  
  25. <center>
  26. <br>
  27. <a href="search.htm">
  28. <font size="3" face="Hack" color="#ffff00">
  29. <marquee width="100%" bgcolor="#000000" border="0" behavior="alternate" align="middle">Go Back!</marquee>
  30. </font>
  31. </a>
  32. <br>
  33.  
  34. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  35.     <tbody><tr>
  36.     <td><font color="#ffff00" face="Hack" size="-2">Feedback Generator</font></td>
  37.     </tr>
  38.     <tr><td height="20"></td></tr>
  39.     <tr>
  40.     <td><font color="#ffff00" face="Hack" size="-2"><b>Instructions:</b><br><b>1.</b> Click the Feedback button.<br><b>2.</b> Watch feedback appear in the box.<br><b>3.</b> Repeat to taste (use your Enter/Return key).</font></td>
  41.     </tr>
  42.     <tr><td><font face="Hack" size="-2"><a href="search.htm">Back</a></font></td></tr>
  43.     </tbody></table>
  44.     <br>
  45. </center>  
  46.  
  47. <script language="JAVASCRIPT">
  48.  
  49. var max1 = 24;
  50. var max2 = 24;
  51. var max3 = 24;
  52.  
  53. index1 = Math.round(Math.random() * max1); 
  54. index2 = Math.round(Math.random() * max2); 
  55. index3 = Math.round(Math.random() * max3); 
  56.  
  57. array1 = new Array("Incredibly marvelous item.", "An astonishing bargain.", "The item was first rate and standout!", "The item was excellent and fantastic!", "Quality of item was ace!", "Item is of top notch quality!", "Outstandingly Sweet deal.",  "Very fine quality!", "Awesome Item!", "Item was of high standard quality.", "Notably exceptional quality!", "Quality of item was super.", "Item is of superior quality.", "Super quality!", "First class quality!", "The item was exceptional and great.", "Item was of the most splendid quality.", "High standard quality!", "Item Excellent!", "First rate quality.", "The item was fantastic!", "Splendid quality.", "Excellent quality.", "Item was of good quality.", "Remarkably fantastic quality!");
  58.  
  59. array2 = new Array("Blazing delivery.", "Very speedy dispatch.", "Very quick arrival time!", "Item Arrived fast!", "Delivery was very speedy.", "Stunning delivery.", "Delivery was awesome!", "Blazing Fast Delivery.", "Swift to send.", "Immensely fast delivery.", "Exceptionally great delivery.", "Delivery was fantastic.", "Superb delivery.", "Good delivery.", "Very speedy dispatch.", "Exceptionally swift delivery.", "Delivery was very fast.", "A notably great seller.", "Immensely superb delivery.", "Delivery was superior.", "First class delivery.", "Super delivery.", "Quick to send.", "Very fast dispatch!", "Delivery was ever so swift!");
  60.  
  61. array3 = new Array("Keen Hardened package.", "Fantastic packaging", "Brilliant packaging", "Symmetrical packaging.", "Good looking packaging.", "Awesome packaging!", "Tip top packaging.", "Awesome Seller", "Good service.", "Ideal packaging.", "Ever so nice packaging.", "Immensely excellent packaging.", "Remarkably effective packaging.", "Outstanding Packaging.", "Quality wrapping.", "Exceptional packaging.", "Marvellous packaging.", "Exceptionally fine packaging.", "Super packaging.", "Wonderful packaging.", "Effective packaging.", "Superior packaging.", "Wrapping was superb.", "Pleasing packaging.");
  62.  
  63. function getResult()
  64. {
  65.     index1 = Math.round(Math.random() * max1); 
  66.     index2 = Math.round(Math.random() * max2); 
  67.     index3 = Math.round(Math.random() * max3); 
  68.  
  69.     document.frmTest.txtTest.value = array1[index1] + " " + array2[index2] + " " + array3[index3]; 
  70. }
  71. </script>
  72.  
  73. <form name="frmTest" onsubmit="return false">
  74. <input name="txtTest" size="100" type="TEXT" style="BACKGROUND-COLOR: rgb(000,000,000); BORDER-BOTTOM: rgb(255,255,0) solid 1px; BORDER-LEFT: rgb(255,255,0) solid 1px; BORDER-RIGHT: rgb(255,255,0) solid 1px; BORDER-TOP: rgb(255,255,0) solid 1px; COLOR: rgb(255,255,0)"><br>
  75. <input value="Feedback Generator" onclick="getResult();" type="BUTTON">
  76. </form>
  77.  
  78. <br><br>
  79. </center>
  80. </body></html>
RAW Paste Data