窗体名
"_blank" Load the linked document into a new blank window. This window is not named.
"_parent" Load the linked document into the immediate parent of the document the link is in.
"_search" Load the linked document into the browser's search pane. Available in Internet Explorer 5 or later.
"_self" Load the linked document into the same window the link was clicked in (the active window).
"_top" Load the linked document into the topmost window. 如果你用的是窗体中已有的框架名,就在相应框架打开页面;如果是没有的框架名,则打开一个新窗口,并给这个窗口附上这个名字,如果以后还在这个名字的框架打开别的页面,则就在这个窗口里打开
"_blank" Load the linked document into a new blank window. This window is not named.
"_parent" Load the linked document into the immediate parent of the document the link is in.
"_search" Load the linked document into the browser's search pane. Available in Internet Explorer 5 or later.
"_self" Load the linked document into the same window the link was clicked in (the active window).
"_top" Load the linked document into the topmost window. 如果你用的是窗体中已有的框架名,就在相应框架打开页面;如果是没有的框架名,则打开一个新窗口,并给这个窗口附上这个名字,如果以后还在这个名字的框架打开别的页面,则就在这个窗口里打开
解决方案 »
- getElementsByTagName 取标签 影响其他页面!~~
- 如何获取下拉框对象?
- 在javascript中如何判断table中是否有tr
- 怎么样给文本框中的标题加上一个颜色
- 求助:怎样固定两侧的浮动广告? (贴中含JS代码)
- 如何连接这样的对象
- 各位大侠,怎样获得html页面中元素的焦点,并同时取得元素的名字和类型?
- meizz(梅花雨)再帮我一个小问题?
- 如何在asp中用Excel 組件做報表
- 不用fixed能否实现固定悬浮?
- 关于在netscape中document获取tags的方法
- 在javascript 中怎么调用"<%=UInfo[i]%>" i是变量, UInfo[] 是数组?
< !-- window.open ("page.html", "newwindow", "height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no") //写成一行
-->
< /SCRIPT>
参数解释:
< SCRIPT LANGUAGE="javascript"> js脚本开始;
window.open 弹出新窗口的命令;
"page.html" 弹出窗口的文件名;
"newwindow" 弹出窗口的名字(不是文件名),非必须,可用空"代替;
height=100 窗口高度;
width=400 窗口宽度;
top=0 窗口距离屏幕上方的象素值;
left=0 窗口距离屏幕左侧的象素值;
toolbar=no 是否显示工具栏,yes为显示;
menubar,scrollbars 表示菜单栏和滚动栏。
resizable=no 是否允许改变窗口大小,yes为允许;
location=no 是否显示地址栏,yes为允许;
status=no 是否显示状态栏内的信息(通常是文件已经打开),yes为允许;
< /SCRIPT> js脚本结束