Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- var iscVusername = "rob";
- var iscVverifyu = "";
- var iscVpassword = "superpass";
- var iscVverifyp = "";
- var iscVchatlog = "";
- var iscVsendmessage = "";
- //EndOfGlobalVariables
- function init()
- {
- iscWindow7();
- //iscApp1Launched
- }
- Event.observe(window, 'load', init, false);
- function iscIfThen4()
- {
- if (iscVverifyp == iscVpassword)
- {
- iscMessageBox1();
- //iscIfThen4True
- }
- else
- {
- iscMessageBox3();
- //iscIfThen4False
- }
- }
- function iscGetTextBox5()
- {
- iscVverifyp = document.getElementById("iscWindow7TextBox0").value;
- //iscGetTextBox5Done
- }
- function iscGetTextBox6()
- {
- iscVverifyu = document.getElementById("iscWindow7TextBox10").value;
- //iscGetTextBox6Done
- }
- function iscWindow7ButtonClicked()
- {
- iscIfThen4();
- iscIfThen2();
- //iscWindow7ButtonClicked
- }
- function iscWindow7TextBoxChanged()
- {
- iscGetTextBox5();
- //iscWindow7TextBoxChanged
- }
- function iscWindow7TextBox1Changed()
- {
- iscGetTextBox6();
- //iscWindow7TextBox1Changed
- }
- function iscWindow7()
- {
- new Draggable('iscWindow7Window1');
- document.getElementById("iscWindow7Window1").style.visibility = "visible";
- //iscWindow7Done
- //iscWindow7Opened
- }
- function iscWindow7Closed()
- {
- iscAppQuit8();
- //iscWindow7Closed
- }
- function iscAppQuit8()
- {
- //iscAppQuit8Done
- }
- function iscMessageBox1()
- {
- alert("Success");
- }
- function iscIfThen2()
- {
- if (iscVverifyu == iscVusername)
- {
- iscWindow11();
- //iscIfThen2True
- }
- else
- {
- //iscIfThen2False
- }
- }
- function iscMessageBox3()
- {
- alert("False");
- }
- function iscWindow11ButtonClicked()
- {
- iscGetTextBox13();
- //iscWindow11ButtonClicked
- }
- function iscWindow11TextBoxChanged()
- {
- //iscWindow11TextBoxChanged
- }
- function iscWindow11()
- {
- new Draggable('iscWindow11Window11');
- document.getElementById("iscWindow11Window11").style.visibility = "visible";
- //iscWindow11Done
- //iscWindow11Opened
- }
- function iscWindow11Closed()
- {
- //iscWindow11Closed
- }
- function iscGetTextBox13()
- {
- iscVsendmessage = document.getElementById("iscWindow11TextBox5").value;
- //iscGetTextBox13Done
- }
- //EndOfFunctions
- </script>
- </head>
- <body>
- <div id="iscWindow7Window1" class="window" style="visibility:hidden;height:328px;width:300px;x:20px;y:20px;">
- <h1>Navi</h1>
- <div class="windowinner">
- <div style="position: absolute; left: 109px; top: 121px;">
- <input type="button" id="iscWindow7Button0" onClick="iscWindow7ButtonClicked()" value="Login" />
- </div>
- <div style="position: absolute; left: 109px; top: 85px;">
- <input type="text" id="iscWindow7TextBox0" style='width:80px;' value="" onChange="iscWindow7TextBoxChanged()">
- </div>
- <div style="position: absolute; left: 110px; top: 56px;">
- <input type="text" id="iscWindow7TextBox10" style='width:80px;' value="" onChange="iscWindow7TextBox1Changed()">
- </div>
- <div style="position: absolute; left: 26px; top: 91px;">
- <label id="iscWindow7Label0">Username</label>
- </div>
- <div style="position: absolute; left: 27px; top: 118px;">
- <label id="iscWindow7Label10">Password</label>
- </div>
- </div>
- </div>
- <div id="iscWindow11Window11" class="window" style="visibility:hidden;height:328px;width:300px;x:20px;y:20px;">
- <h1>Window</h1>
- <div class="windowinner">
- <div style="position: absolute; left: 17px; top: 46px;">
- <textarea id="iscWindow11TextField2" style='width:267;height:195";'></textarea>
- </div>
- <div style="position: absolute; left: 227px; top: 247px;">
- <input type="button" id="iscWindow11Button3" onClick="iscWindow11ButtonClicked()" value="Send" />
- </div>
- <div style="position: absolute; left: 20px; top: 247px;">
- <input type="text" id="iscWindow11TextBox5" style='width:192px;' value="TextBox" onChange="iscWindow11TextBoxChanged()">
- </div>
- </div>
- </div>
- <!-- EndOfHTML -->
- </body>
- </html>
Add Comment
Please, Sign In to add comment