update ivan's html files

parent b1a12d5a
...@@ -2,6 +2,23 @@ ...@@ -2,6 +2,23 @@
<head> <head>
<title>SkyliveX 0.1.0</title> <title>SkyliveX 0.1.0</title>
<script type="text/javascript" src="SkyliveX.js"></script> <script type="text/javascript" src="SkyliveX.js"></script>
<script type="text/javascript">
function sendMsg()
{
SkyliveX.chat_message_send(document.forms.messagesend.msginput.value);
document.forms.messagesend.msginput.value="";
}
function msgInputKey(event)
{
if(event.keyCode==13)
{
sendMsg();
}
}
</script>
<style> <style>
body { body {
background-color: #333333; background-color: #333333;
...@@ -38,7 +55,7 @@ ...@@ -38,7 +55,7 @@
overflow:auto; overflow:auto;
} }
div.csschatinput { textarea.csschatinput {
font: medium -moz-fixed; font: medium -moz-fixed;
font: -webkit-small-control; font: -webkit-small-control;
padding: 2px; padding: 2px;
...@@ -161,10 +178,10 @@ ...@@ -161,10 +178,10 @@
<p>ivan_staff</p> <p>ivan_staff</p>
<p>nextime</p> <p>nextime</p>
</div> </div>
<form name="messagesend" onSubmit="return false;" >
<div chata id="chatinput" class="csschatinput" contenteditable > <textarea id="chatinput" class="csschatinput" name="msginput" onKeyDown="msgInputKey(event);" >
</textarea>
</div> </form>
</body> </body>
</html> </html>
<html> <html debug="true">
<head> <head>
<title>SkyliveX 0.1.0</title> <title>SkyliveX 0.1.0</title>
<script type="text/javascript" src="SkyliveX.js"></script> <script type="text/javascript" src="SkyliveX.js"></script>
<style> <style>
body { body {
background-color: #FFFFFF; background-color: #FFFFFF;
...@@ -82,13 +83,20 @@ ...@@ -82,13 +83,20 @@
</div> </div>
<div id="numteleselect"> <div id="numteleselect">
<select name="numtele"> <select name="numtele" onChange="SkyliveX.change_telescope(this.options[this.selectedIndex].value);">
<option selected>1</option> <option selected>1</option>
<option>2</option> <option>2</option>
<option>3</option> <option>3</option>
<option>4</option> <option>4</option>
<option>5</option>
</select> </select>
</div> </div>
<script type="text/javascript" >
document.addEventListener('DOMContentLoaded',function(){
SkyliveX.open_window("chatgui.html", false);
setTimeout(function() { SkyliveX.resizeWin(636, 420); }, 500);
});
</script>
</body> </body>
</html> </html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment