增加WorldClient的登录界面域选择下拉框的步骤
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd";> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>WorldClient</title> <link rel="stylesheet" href="<$THEME$>/<$STYLE$>.css"> <script type="text/javascript"> function init(){ try{ if (self.parent.frames.length != 0) self.parent.location=document.location; else if (document.forms[0].User.value.length > 0) document.forms[0].Password.focus(); else document.forms[0].User.focus(); } catch(exception){} } function showFocus(obj){ if(!document.getElementById) return; // else do the thing obj.style.border = "1px solid yellow"; } function showBlur(obj){ if(!document.getElementById) return; // else do the thing obj.style.border = "1px solid Menu"; } </script> <script language="JavaScript"> <!-- function AddDomain() { document.forms[0].User.value = document.forms[0].LoginName.value + "@" + document.forms[0].domain.options[document.forms[0].domain.selectedIndex].value; } //--> //--> </script> </head> <body class="loginBody" link="#000000" vlink="#000000" onload="init();"> <form action="<$Action$>" target="_top" method="post" onSubmit="AddDomain();"> <input type="hidden" name="User" size="18" value="" /> <div id="biglogo" align="center"><img src="<$THEME$>/biglogo.gif" alt="WorldClient" /></div> <br> <table align="center" width="490" border="0" cellpadding="0" cellspacing="0" id="loginTable"> <tr> <td colspan="3" valign="top"><img src="<$THEME$>/spacer.gif" alt="" border="0" width="490" height="25"></td> </tr> <tr> <td></td> <td valign="bottom" align="center" class="loginText"><strong><$STATUSMESG$></strong></td> <td></td> </tr> <tr> <td align="left"><img src="<$THEME$>/spacer.gif" width="1" height="226" alt="" border="0" /></TD> <td align="center"> <table border="0" cellpadding="0" cellspacing="8"> <tr align="center"> <td align="left" valign="top" class="loginText"><b>[$Email Address$]:</b></td> <td align="center" valign="top"><input class="loginInput" name=LoginName size=18 onfocus="showFocus(this)" onblur="showBlur(this)"></td> <td align="center" valign="top" class="loginText">@</td> <td align="center" valign="top"> <select class="loginInput" name=domain> <option value=domain1.com>domain1.com</option> <option value=domain2.com>domain2.com</option> </select> </td> </tr> <tr align="center"> <td align="left" valign="top" class="loginText"><b>[$Password$]:</b></td> <td align="left" valign="top"><input class="loginInput" type="password" name="Password" size="18" onfocus="showFocus(this)" onblur="showBlur(this)" /></td> </tr> <tr> <td></td> <td align="left" valign="top"><input class="loginButton" type="submit" name="Logon" value="[$Sign In$]" /></td> </tr> <$IF NEWACCOUNTCREATION$> <tr> <td></td> <td align="left" valign="top"> <input class="loginButton" type="submit" name="NewAccount" value="[$Create Account$]" /> </td> </tr> <$ENDIF$> </table> </td> <td align="right"><img src="<$THEME$>/spacer.gif" width="1" height="226" alt=""></td> </tr> <tr> <td colspan="3" valign="bottom"><img src="<$THEME$>/spacer.gif" width="490" height="1" alt=""></td> </tr> </table> </form> <br> <div align="center"> <strong>Copyright © 2004-2005 某某某 版权所有</strong> </div> </body> </html> |
本文地址:http://www.45fan.com/a/question/70170.html