update ivan's html files

parent b1a12d5a
......@@ -2,6 +2,23 @@
<head>
<title>SkyliveX 0.1.0</title>
<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>
body {
background-color: #333333;
......@@ -38,7 +55,7 @@
overflow:auto;
}
div.csschatinput {
textarea.csschatinput {
font: medium -moz-fixed;
font: -webkit-small-control;
padding: 2px;
......@@ -161,10 +178,10 @@
<p>ivan_staff</p>
<p>nextime</p>
</div>
<div chata id="chatinput" class="csschatinput" contenteditable >
</div>
<form name="messagesend" onSubmit="return false;" >
<textarea id="chatinput" class="csschatinput" name="msginput" onKeyDown="msgInputKey(event);" >
</textarea>
</form>
</body>
</html>
<html>
<html debug="true">
<head>
<title>SkyliveX 0.1.0</title>
<script type="text/javascript" src="SkyliveX.js"></script>
<style>
body {
background-color: #FFFFFF;
......@@ -82,13 +83,20 @@
</div>
<div id="numteleselect">
<select name="numtele">
<select name="numtele" onChange="SkyliveX.change_telescope(this.options[this.selectedIndex].value);">
<option selected>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<script type="text/javascript" >
document.addEventListener('DOMContentLoaded',function(){
SkyliveX.open_window("chatgui.html", false);
setTimeout(function() { SkyliveX.resizeWin(636, 420); }, 500);
});
</script>
</body>
</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