Guest User

Untitled

a guest
Mar 12th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.75 KB | None | 0 0
  1. <script type="text/javascript">
  2.  
  3. var iscVusername = "rob";
  4. var iscVverifyu = "";
  5. var iscVpassword = "superpass";
  6. var iscVverifyp = "";
  7. var iscVchatlog = "";
  8. var iscVsendmessage = "";
  9. //EndOfGlobalVariables
  10.  
  11. function init()
  12. {
  13.  
  14. iscWindow7();
  15. //iscApp1Launched
  16. }
  17.  
  18. Event.observe(window, 'load', init, false);
  19.  
  20. function iscIfThen4()
  21. {
  22. if (iscVverifyp == iscVpassword)
  23. {
  24. iscMessageBox1();
  25. //iscIfThen4True
  26.  
  27. }
  28. else
  29. {
  30. iscMessageBox3();
  31. //iscIfThen4False
  32. }
  33. }
  34.  
  35.  
  36. function iscGetTextBox5()
  37. {
  38. iscVverifyp = document.getElementById("iscWindow7TextBox0").value;
  39. //iscGetTextBox5Done
  40. }
  41.  
  42.  
  43. function iscGetTextBox6()
  44. {
  45. iscVverifyu = document.getElementById("iscWindow7TextBox10").value;
  46. //iscGetTextBox6Done
  47. }
  48.  
  49.  
  50. function iscWindow7ButtonClicked()
  51. {
  52. iscIfThen4();
  53. iscIfThen2();
  54. //iscWindow7ButtonClicked
  55. }
  56.  
  57.  
  58. function iscWindow7TextBoxChanged()
  59. {
  60. iscGetTextBox5();
  61. //iscWindow7TextBoxChanged
  62. }
  63.  
  64.  
  65. function iscWindow7TextBox1Changed()
  66. {
  67. iscGetTextBox6();
  68. //iscWindow7TextBox1Changed
  69. }
  70.  
  71.  
  72. function iscWindow7()
  73. {
  74. new Draggable('iscWindow7Window1');
  75. document.getElementById("iscWindow7Window1").style.visibility = "visible";
  76. //iscWindow7Done
  77. //iscWindow7Opened
  78. }
  79.  
  80. function iscWindow7Closed()
  81. {
  82. iscAppQuit8();
  83. //iscWindow7Closed
  84. }
  85.  
  86.  
  87. function iscAppQuit8()
  88. {
  89. //iscAppQuit8Done
  90. }
  91.  
  92.  
  93. function iscMessageBox1()
  94. {
  95. alert("Success");
  96. }
  97.  
  98.  
  99. function iscIfThen2()
  100. {
  101. if (iscVverifyu == iscVusername)
  102. {
  103. iscWindow11();
  104. //iscIfThen2True
  105.  
  106. }
  107. else
  108. {
  109. //iscIfThen2False
  110. }
  111. }
  112.  
  113.  
  114. function iscMessageBox3()
  115. {
  116. alert("False");
  117. }
  118.  
  119.  
  120. function iscWindow11ButtonClicked()
  121. {
  122. iscGetTextBox13();
  123. //iscWindow11ButtonClicked
  124. }
  125.  
  126.  
  127. function iscWindow11TextBoxChanged()
  128. {
  129. //iscWindow11TextBoxChanged
  130. }
  131.  
  132.  
  133. function iscWindow11()
  134. {
  135. new Draggable('iscWindow11Window11');
  136. document.getElementById("iscWindow11Window11").style.visibility = "visible";
  137. //iscWindow11Done
  138. //iscWindow11Opened
  139. }
  140.  
  141. function iscWindow11Closed()
  142. {
  143. //iscWindow11Closed
  144. }
  145.  
  146.  
  147. function iscGetTextBox13()
  148. {
  149. iscVsendmessage = document.getElementById("iscWindow11TextBox5").value;
  150. //iscGetTextBox13Done
  151. }
  152.  
  153.  
  154. //EndOfFunctions
  155.  
  156. </script>
  157. </head>
  158. <body>
  159. <div id="iscWindow7Window1" class="window" style="visibility:hidden;height:328px;width:300px;x:20px;y:20px;">
  160. <h1>Navi</h1>
  161. <div class="windowinner">
  162. <div style="position: absolute; left: 109px; top: 121px;">
  163. <input type="button" id="iscWindow7Button0" onClick="iscWindow7ButtonClicked()" value="Login" />
  164. </div>
  165. <div style="position: absolute; left: 109px; top: 85px;">
  166. <input type="text" id="iscWindow7TextBox0" style='width:80px;' value="" onChange="iscWindow7TextBoxChanged()">
  167. </div>
  168. <div style="position: absolute; left: 110px; top: 56px;">
  169. <input type="text" id="iscWindow7TextBox10" style='width:80px;' value="" onChange="iscWindow7TextBox1Changed()">
  170. </div>
  171. <div style="position: absolute; left: 26px; top: 91px;">
  172. <label id="iscWindow7Label0">Username</label>
  173. </div>
  174. <div style="position: absolute; left: 27px; top: 118px;">
  175. <label id="iscWindow7Label10">Password</label>
  176. </div>
  177. </div>
  178. </div>
  179.  
  180. <div id="iscWindow11Window11" class="window" style="visibility:hidden;height:328px;width:300px;x:20px;y:20px;">
  181. <h1>Window</h1>
  182. <div class="windowinner">
  183. <div style="position: absolute; left: 17px; top: 46px;">
  184. <textarea id="iscWindow11TextField2" style='width:267;height:195";'></textarea>
  185. </div>
  186. <div style="position: absolute; left: 227px; top: 247px;">
  187. <input type="button" id="iscWindow11Button3" onClick="iscWindow11ButtonClicked()" value="Send" />
  188. </div>
  189. <div style="position: absolute; left: 20px; top: 247px;">
  190. <input type="text" id="iscWindow11TextBox5" style='width:192px;' value="TextBox" onChange="iscWindow11TextBoxChanged()">
  191. </div>
  192. </div>
  193. </div>
  194.  
  195. <!-- EndOfHTML -->
  196.  
  197. </body>
  198. </html>
Add Comment
Please, Sign In to add comment