回到上一頁
<a href="javascript:history.back(1)">
--------------------------------------------------------------
網頁顯示後自動定位於某一元件
<SCRIPT language=JavaScript>
<!--
document.f1.t1.focus();
// -->
</SCRIPT>
--------------------------------------------------------------
關閉視窗
onclick="javascript:self.close();return false"
onclick="window.close()"
--------------------------------------------------------------
子母視窗
<html>
....
<!-------JavaScript收集區 子母視窗_開始-------->
<script language="JavaScript">
<!--
var gt = unescape('%3e');
var popup = null;
var over = "Launch Pop-up Navigator";
popup = window.open('', 'popupnav', 'width=150,height=150,resizable=1,scrollbars=auto');
if (popup != null) {
if (popup.opener == null) {
popup.opener = self;
}
popup.location.href = 'java1.htm'
}
// -->
</script>
<!-------JavaScript收集區 子母視窗_結束-------->
</html>
<SCRIPT><!--
msgWindow=window.open('
http://ad2.taconet.com.tw/serve....php?adino=61','dctwpopin','scrollbars=no,resizable=no,menubar=no,toolbar=no,location=no,status=no,width=468,height=60');
//--></SCRIPT>
--------------------------------------------------------------
重新導到另一網頁(asp)
<script language="javaScript">
<!--
window.location="edit_student_class.asp?id=<%=Request("id")%>"
// -->
</script>
<%
RESPONSE.END
%>