<%@ Language=VBScript %> Math Chat <% 'onload="document.forms('form1').Chat_Input.focus();"> 'onload="document.getElement('Chat_Input').focus();"> ' onload="document.form1.chat_input for the java script scrolls Chat_Input =trim(Request.Form("Chat_Input")) If Chat_Input <> "" then dim LastUpdate dim TheTime TheTime = Now() LastUpdate = Year(TheTime) if Month(TheTime) < 10 then LastUpdate=LastUpdate &"0" LastUpdate = LastUpdate & Month(TheTime) if Day(TheTime)<10 then LastUpdate = LastUpdate & "0" LastUpdate = LastUpdate & Day(TheTime) LastUpdate = LastUpdate + FormatDateTime(TheTime,3) Application("LastUpdate")= LastUpdate Application.Lock 'response.write("Chat_Input" & Chat_Input &"
") if Chat_Input = "clear" then Application("conversation") = "" else f = chr(10) str = Replace(Chat_Input,chr(13) & chr(10), "
") Application("conversation") = "" & _ Application("conversation") & _ "
" & time & " " & Session("name") & ":
" _ & str & "
" Application.Unlock End if End If '%>
Use `(upper left key) to enclose math expressions. Type 'clear' to clear the history.
`x^2`=x^2,`oo`=oo, `sqrt5`=sqrt5, `root3(5/8)`=root3(5/8) `int_1^5`=int_1^5 `sum_1^n`=sum_1^n `uu` =uu `nn`=nn `(a+b)/(c^2+dx+f)`=(a+b)/(c^2+dx+f)