1. what is the login screen? You can see the login form in my bamboo. Here we provide the most basic login form item (1) login form lt; forw.hodpostnamechatformactionchatlogin. php? Actionenteronsubmitb#submit (); returntrue; targethowtodogt; (a) the chat form name is chatform. how can I use the login screen on the ac 1 page?
You can see the login form in my bamboo. Here we provide the most basic login form items.
(1) login form
<Form method = POST name = chatform action = chat/login. php? Action = enter onSubmit = "b1_submit (); return true;" target = "howtodo">
(A) the chat form is named chatform. I use action = enter as the portal to enter the chat room. If this parameter is not provided, the login page is displayed.
(B) when submitting a form, call bw.submit () to create a chat window.
(C) the target chat window is the howtodo window created by b1_submit ().
(2) form items
Nickname: <input type = text name = name size = 15 maxlength = "10">
Password: <input type = password name = pass size = 15 maxlength = "10">
<Input type = submit name = submit value = Login style = "width: 100">
<Input type = reset name = reset value = Add style = "width: 50">
(A) the maximum allowed length of each form item must be set. maxlength
(3) Create a chat window js
<Script LANGUAGE = "javascript">
Function BMIT submit (){
Chat = window. open (''," howtodo ", 'status = no, scrollbars = no, resizable = no ');
Chat. moveTo (0, 0 );
Chat. resizeTo (screen. availWidth, screen. availHeight );
Chat. outerWidth = screen. availWidth;
Chat. outerHeight = screen. availHeight;
}
This code first opens a howtodo window with no status bar and a scroll bar to adjust the size! Move to the upper left corner of the screen and zoom in to the allowed screen size.
Original Author: howtodo
Source: php2000.com