diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:42 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:42 +0200 |
| commit | 98eac951f8087b213f5850bd126dcb279db360a8 (patch) | |
| tree | c121f5c4df1aab847defa539990c1315bd5ba4a8 /html/input.html | |
| parent | 0537da9d1e0f593130fc3967befb71e673b016bc (diff) | |
tagging ychat-0.6ychat-0.6
Diffstat (limited to 'html/input.html')
| -rwxr-xr-x | html/input.html | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/html/input.html b/html/input.html index a403d8e..a49cb13 100755 --- a/html/input.html +++ b/html/input.html @@ -4,7 +4,6 @@ %%PGETITLE%% </title> <link rel=stylesheet href="style.css" type=text/css> - <script language="JavaScript"> <!-- function delout() @@ -18,17 +17,29 @@ { document.input.message.select(); } + function popup(site,width,height) + { + var left = (screen.availWidth-width)/2; + var top = (screen.availHeight-height)/2; + var win = window.open(site,"_blank","width="+width+",height="+height+",left="+left+",top="+top+",scrollbars=yes"); + } //--> </script> </head> <body bgcolor=#000000 text=#ffffff> + <table> + <tr><td> <form name="input" action="input.html" target="blank" onsubmit="return delout();"> <input type="hidden" name="event" value="post"> - <input type="hidden" name="nick" value="%%nick%%"> <input type="hidden" name="tmpid" value="%%tmpid%%"> <input type="text" name="message" size="50"> - <input type="submit" value="send"> - <input type="button" value="select" onclick="javascript:selectinput();"> + <input type="submit" value="send" accesskey='s'> + <input type="button" value="select" accesskey='e' onclick="javascript:selectinput();"> </form> + </td> + <td> + <a href='#' onclick="javascript:popup('help.html?event=help&tmpid=%%tmpid%%', 576, 480)">Help</a> + </td></tr> + </table> </body> </html> |
