社区
其他
帖子详情
如何使网页没有标题栏?
flyingghost
2001-10-25 03:54:22
...全文
110
5
打赏
收藏
如何使网页没有标题栏?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
5 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
flyingghost
2001-10-28
打赏
举报
回复
多谢!
不过为什么两个人的一模一样?^_^
yunanyunan
2001-10-27
打赏
举报
回复
<script>
var windowW=314 // wide
var windowH=398 // high
// set the screen position where the popup should appear
var windowX = 260 // from left
var windowY = 100 // from top
// set the url of the page to show in the popup
var urlPop = "yourpage.htm"
// set the title of the page
var title = "This Is A Frameless Popup Window"
// set this to true if the popup should close
// upon leaving the launching page; else, false
var autoclose = true
// ============================
// do not edit below this line
// ============================
s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false
function openFrameless(){
if (beIE){
NFW = window.open("","popFrameless","fullscreen,"+s)
NFW.blur()
window.focus()
NFW.resizeTo(windowW,windowH)
NFW.moveTo(windowX,windowY)
var frameString=""+
"<html>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+urlPop+"' scrolling=auto>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>"
NFW.document.open();
NFW.document.write(frameString)
NFW.document.close()
} else {
NFW=window.open(urlPop,"popFrameless","scrollbars,"+s)
NFW.blur()
window.focus()
NFW.resizeTo(windowW,windowH)
NFW.moveTo(windowX,windowY)
}
NFW.focus()
if (autoclose){
window.onunload = function(){NFW.close()}
}
}
</script>
<a href="javascript:openFrameless()">打开页面内的窗口</a>
<body onload="top.window.focus()">
lhjcpu
2001-10-26
打赏
举报
回复
<script>
var windowW=314 // wide
var windowH=398 // high
// set the screen position where the popup should appear
var windowX = 260 // from left
var windowY = 100 // from top
// set the url of the page to show in the popup
var urlPop = "yourpage.htm"
// set the title of the page
var title = "This Is A Frameless Popup Window"
// set this to true if the popup should close
// upon leaving the launching page; else, false
var autoclose = true
// ============================
// do not edit below this line
// ============================
s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false
function openFrameless(){
if (beIE){
NFW = window.open("","popFrameless","fullscreen,"+s)
NFW.blur()
window.focus()
NFW.resizeTo(windowW,windowH)
NFW.moveTo(windowX,windowY)
var frameString=""+
"<html>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+urlPop+"' scrolling=auto>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>"
NFW.document.open();
NFW.document.write(frameString)
NFW.document.close()
} else {
NFW=window.open(urlPop,"popFrameless","scrollbars,"+s)
NFW.blur()
window.focus()
NFW.resizeTo(windowW,windowH)
NFW.moveTo(windowX,windowY)
}
NFW.focus()
if (autoclose){
window.onunload = function(){NFW.close()}
}
}
</script>
<a href="javascript:openFrameless()">打开页面内的窗口</a>
<body onload="top.window.focus()">
icech
2001-10-25
打赏
举报
回复
<script>
var windowW=314 // wide
var windowH=398 // high
// set the screen position where the popup should appear
var windowX = 260 // from left
var windowY = 100 // from top
// set the url of the page to show in the popup
var urlPop = "yourpage.htm"
// set the title of the page
var title = "This Is A Frameless Popup Window"
// set this to true if the popup should close
// upon leaving the launching page; else, false
var autoclose = true
// ============================
// do not edit below this line
// ============================
s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false
function openFrameless(){
if (beIE){
NFW = window.open("","popFrameless","fullscreen,"+s)
NFW.blur()
window.focus()
NFW.resizeTo(windowW,windowH)
NFW.moveTo(windowX,windowY)
var frameString=""+
"<html>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+urlPop+"' scrolling=auto>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>"
NFW.document.open();
NFW.document.write(frameString)
NFW.document.close()
} else {
NFW=window.open(urlPop,"popFrameless","scrollbars,"+s)
NFW.blur()
window.focus()
NFW.resizeTo(windowW,windowH)
NFW.moveTo(windowX,windowY)
}
NFW.focus()
if (autoclose){
window.onunload = function(){NFW.close()}
}
}
</script>
<a href="javascript:openFrameless()">打开页面内的窗口</a>
<body onload="top.window.focus()">
hailong326
2001-10-25
打赏
举报
回复
gz
HTML
网页
设计语言入门基础教学视频
本课程为软件相关专业
网页
设计入门基础课程,课程共18讲,上课代码及PPT课件已经上传,可以直接下载使用。 主要课程内容如下:1.讲解HTML基本概念,HTML的基本结构;2.讲解表格与超级链接标签的使用方法;3.讲解字体...
html怎么在
网页
标题栏
上添加图标
像下图这样给
网页
标题栏
加个图标 方法 需要先把图片格式转换为.ico类型 在这个网址在线转换很方便:https://www.easyicon.net/covert/ 在<head></head>加一行来显示图标(注意,如果加入了
没有
效果,...
去掉/隐藏Firefox
标题栏
Deepin15桌面版,Firefox粗犷的
标题栏
实在令人无法接受,去掉或隐藏原
标题栏
步骤: 1、在
标题栏
右击鼠标,选择【定制】菜单,在定制界面的左下角取消勾选【
标题栏
】选项,然后点后面的【完成】按钮。 2、打开如下...
如何在
网页
标题栏
title加入logo图标?
打开某一个
网页
会在浏览器的标签栏处显示该
网页
的标题和图标,当
网页
被添加到收藏夹或者书签中时也会出现
网页
的图标,怎么在
网页
title左边显示
网页
的logo图标呢? 方法一是:找一个或者作一个ico文件,然后把文件...
虚拟机乌班图怎样用指令调节菜单与
标题栏
缩放比例
不知道大家有
没有
像我一样在调节乌班图设置界面显示分辨率时一不小心改了它的标题缩放比例,导致
标题栏
各界面菜单与
标题栏
缩放比例比主菜单栏大了一圈,面儿显示不全,滑动不出来,根本无法进行其他设置。...
其他
10,606
社区成员
29,047
社区内容
发帖
与我相关
我的任务
其他
Web 开发 其他
复制链接
扫一扫
分享
社区描述
Web 开发 其他
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章