回到上一页
<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
%>