<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (後端管理登入畫面.psd) -->
<table width="100%" height="100%">
<tr>
<td align="center" valign="middle">
<form name="form1" method="post" action="admin.php">
<table id="Table_01" width="530" height="175" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <img src="images/Index_01.jpg" width="259" height="50" alt=""></td>
        <td>
            <img src="images/Index_02.jpg" width="242" height="50" alt=""></td>
        <td>
            <img src="images/Index_03.jpg" width="29" height="50" alt=""></td>
    </tr>
    <tr>
        <td>
            <img src="images/Index_04.jpg" width="259" height="106" alt=""></td>
        <td background="images/Index_05.jpg"><table width="100%" border="0">
          <tr>
            <td width="35%" align="right" valign="middle">帳號:</td>
            <td width="65%" align="left" valign="top">
            <input name="user" type="text" id="user" size="15" maxlength="15" onkeydown="if(event.keyCode==13)event.keyCode=9" tabindex="1">
            </td>
          </tr>

這邊使用VBScript 來達到物件 Focus 的效果,這邊讓網頁預設游標停在帳號輸入欄位上
<script language="VBScript">
Sub window_OnLoad
   window.form1.user.Focus
End Sub
</script>

          <tr>
            <td align="right" valign="middle">密碼:</td>
            <td valign="top">
            <input name="pw" type="password" id="pw" size="17" maxlength="17" onkeydown="if(event.keyCode==13)event.keyCode=9" tabindex="2">
            </td>
          </tr>
          <tr>
            <td colspan="2" align="center" valign="middle">
            <input type="hidden" name="check" value="check">
            <input name="Submit" type="submit" id="Submit" value="確定" tabindex="2">
            <input type="reset" value="重置"></td>
            </tr>
        </table></td>
        <td>
            <img src="images/Index_06.jpg" width="29" height="106" alt=""></td>
    </tr>
    <tr>
        <td>
            <img src="images/Index_07.jpg" width="259" height="19" alt=""></td>
        <td>
            <img src="images/Index_08.jpg" width="242" height="19" alt=""></td>
        <td>
            <img src="images/Index_09.jpg" width="29" height="19" alt=""></td>
    </tr>
</table>
</form>
</td>
</tr>
</table>
<!-- End ImageReady Slices -->
</body>

No Money No Hone 發表在 痞客邦 PIXNET 留言(0) 人氣()