html弹出固定大小的窗口(HTML pops up a fixed size window)

html弹出固定大小的窗口(HTML pops up a fixed size window)

Would you like a window with a fixed size after clicking?

[1, the most basic pop-up window code]

Window.open ('page.html')

-- >

Since this is a section of Javascripts code, they should be placed between . acts on some version of the low browser, the browser will not be in the old label code as text display. Get into this good habit. Window.open ('page.html') is used to control the pop-up window page.html, if page.html is not with the main window on the same path, should be written in front of the path, the absolute path (http://) and relative path (/) can. You can use both single and double quotes, but don't mix them. Any position of this piece of code can be added to HTML, can be between

and , can also be more before the earlier implementation, especially the page code, and want to make the page pops up as far as possible to put forward earlier.

[2, after setting up pop-up window]

Let's talk about the settings of the pop-up window. Just add a little more to the code above. Let's customize the appearance, size, and position of the pop-up window to fit the page.

Window.open ('page.html','newwindow','height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=n, O, status=no') / / this sentence should be written out in a row

-- >

Parameter interpretation:

Window.open pop-up new window command;

'page.html'pop-up window file name;

'newwindow'pop-up window name (not file name), non required, available empty instead;

Height=100 window height;

Width=400 window width;

Top=0 window is the pixel value above the screen;

Left=0 window is the pixel value from the left of the screen;

Does toolbar=no display toolbars, and yes is display?;

Menubar, scro

html 弹出固定大小的页面,html弹出固定大小的窗口(HTML pops up a fixed size window).doc...相关推荐

  1. css屏幕大小的容器,位置2箭头固定到CSS页面容器的外部 - 屏幕大小

    我想创建一个HTML页面滑块,所以我有我的容器div,然后坐在外面,在左边我有一个Previous图标和右侧我有一个下一个图标.位置2箭头固定到CSS页面容器的外部 - 屏幕大小 我的问题是,当我将窗 ...

  2. XWPFDocument word导出相关(分栏,纸张大小,页面排版,段落字体大小)

    改造了一个word导出功能,用到了之前没用到过的冷门方法,我当时百度找方法的时候也是很绝望,就是很冷门,有的博客看到关键地方,还就要钱了,所以我要在这里记录一下,省的以后我忘了,重蹈覆辙,另外也是希望 ...

  3. JQuery弹出菜单时禁止页面(body)滚动

    最近在做手机端的弹出菜单,但是菜单弹出来后滑动手机屏幕的话页面滚动总是会将菜单滑上去,体验非常不好,所以查了一下弹出菜单时禁止页面滚动的方法,整理如下: 方法一:弹出菜单时给body和html添加一个 ...

  4. layui table 弹出层刷新_layui 关闭open弹出框 刷新table表格页面的方法

    layui 关闭open弹出框 刷新table表格页面的方法 如下所示: 保存后刷新table表格 源码 //弹出框 layer.open({ type: 2, shadeClose: true, s ...

  5. IOS上微信在输入框弹出键盘后,页面不恢复,下方有留白,有弹窗弹出时页面内容感应区域错位...

    问题说明: ios中,键盘的弹起,页面会往上挪动,使输入框展示在页面中间,键盘隐藏页面会下挪恢复原状. 在微信移动端,ios页面不恢复,下方有留白. 收起键盘的瞬间,如果有弹窗弹出,此时时页面内容应区 ...

  6. layui 子页面写弹出框覆盖父页面,以及给弹框中的表单赋值

    咋说呢,因为对 layui 不太熟悉,这个弹出框搞了好久,看了好多解决方案,大致尝试了一下其中几种,在坑中无法自拔...总之终于搞出来了,在这里分享一下我的笔记. 着急的直接 戳这里 看解决代码. 尝 ...

  7. 计算机考试报名无法弹出支付界面,教资报名支付页面不弹出怎么办 2021教师资格证报名入口网址...

    2021教师资格证报名入口是中小学教师资格考试网站,教师资格证报名时间是1月14-17日,请大家请及时登陆教师资格证报名官网报名以防错过考试. 点击进入:2021年教师资格考试报名入口 教师资格证报名 ...

  8. 用jQuery实现页面遮罩弹出框

    页面遮罩弹出框是最常见的一种情况,今天用jQuery实现页面遮罩弹出框,主要用的技术有JQuery,css和html, html代码如下: <div id="main"> ...

  9. 移动端和PC端弹出遮罩层后,页面禁止滚动的解决方法及探究

    移动端和PC端弹出遮罩层后,页面禁止滚动的解决方法及探究 参考文章: (1)移动端和PC端弹出遮罩层后,页面禁止滚动的解决方法及探究 (2)https://www.cnblogs.com/ranyon ...

最新文章

  1. spring核心框架体系结构(jar包依赖)
  2. 2021春季学期-创新与实践-硬件平台硬件
  3. 东方通 中间件_东方通:中间件国产替代进程中的艰难领军者
  4. golang 映射 map 简介
  5. mac生成linux下可执行的.go二进制文件
  6. java7 uri,细数Java8中那些让人纵享丝滑的文件操作
  7. mysql配置优化ya_mysql性能调优工具之mytop
  8. HDU2087 剪花布条【KMP】
  9. 人人都能成为安全防范的高手 ——《黑客新型攻击防范:深入剖析犯罪软件》...
  10. 智能制造与数字化工厂
  11. 开关电源设计入门到精通系列--序
  12. 主动轮廓模型——Snake分割算法 matlab源码
  13. win10使用nssm注册服务
  14. G002-186-17
  15. HTML页面跳转的方法
  16. java poi word bookmarks_poi根据word/excel模板(书签)创建导出word/excel文档
  17. healthd log 解读
  18. 实验四: IPv6路由选择协议配置
  19. chfs http 文件共享服务
  20. 为什么转置一个512x512的矩阵,会比513x513的矩阵慢很多?

热门文章

  1. 性能安全并重 实战英特尔MatrixRAID组建
  2. Mathematica学习笔记
  3. 混音 文件 生成 linux,linux 混音
  4. Python黑帽编程-ARP之一
  5. 科技云报道原创:没有一个行业,能拒绝“通信中台”的诱惑
  6. AngularJs with Webpackv1 升級到 Webpack4
  7. C++ 11 后一些便捷用法
  8. 没有为此解决方案配置选中要生成的项目
  9. Node.js使用ffi-napi,ref-array-napi,ref-struct-napi调用动态库
  10. odoo列表字段颜色,行颜色,many2many_tags颜色,看板颜色