窗口弹出层适合滚动条吗

用window.open函数打开一个新的页面。

例如:
<a href="javascript:void(0)" onclick="window.open(newWnd.aspx,newwindow, height=800, width=1100,scrollbars=yes, resizable=yes, toolbar=no, menubar=no, status=no)">弹出窗口</a>

具体参数什么意思,从单词意思上能猜得出。在网上查也行,很多。open Method Internet Development Index

--------------------------------------------------------------------------------

Opens a new window and loads the document specified by a given URL.

Whats New for Microsoft® Internet Explorer 6
As of Internet Explorer 6, the _media value of the sName parameter specifies that this method loads a URL into the HTML content area of the Media Bar.

Syntax

oNewWindow = window.open( [sURL] [, sName] [, sFeatures] [, bReplace])
Parameters

sURL Optional. String that specifies the URL of the document to display. If no URL is specified, a new window with about:blank is displayed.
sName Optional. String that specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an a element._blank The sURL is loaded into a new, unnamed window.
_media The sURL is loaded into the HTML content area of the Media Bar. Available in Internet Explorer 6 or later.
_parent The sURL is loaded into the current frames parent. If the frame has no parent, this value acts as the value _self.
_search Available in Internet Explorer 5 and later. The sURL is opened in the browsers search pane.
_self The current document is replaced with the specified sURL .
_top sURL replaces any framesets that may be loaded. If there are no framesets defined, this value acts as the value _self.

sFeatures Optional. This String parameter is a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following features are supported.channelmode = { yes | no | 1 | 0 } Specifies whether to display the window in theater mode and show the channel band. The default is no.
directories = { yes | no | 1 | 0 } Specifies whether to add directory buttons. The default is yes.
fullscreen = { yes | no | 1 | 0 } Specifies whether to display the browser in full-screen mode. The default is no. Use full-screen mode carefully. Because this mode hides the browsers title bar and menus, you should always provide a button or other visual clue to help the user close the window. ALT+F4 closes the new window. A window in full-screen mode must also be in theater mode (channelmode).
height = number Specifies the height of the window, in pixels. The minimum value is 100.
left = number Specifies the left position, in pixels. This value is relative to the upper-left corner of the screen. The value must be greater than or equal to 0.
location = { yes | no | 1 | 0 } Specifies whether to display the input field for entering URLs directly into the browser. The default is yes.
menubar = { yes | no | 1 | 0 } Specifies whether to display the menu bar. The default is yes.
resizable = { yes | no | 1 | 0 } Specifies whether to display resize handles at the corners of the window. The default is yes.
scrollbars = { yes | no | 1 | 0 } Specifies whether to display horizontal and vertical scroll bars. The default is yes.
status = { yes | no | 1 | 0 } Specifies whether to add a status bar at the bottom of the window. The default is yes.
titlebar = { yes | no | 1 | 0 } Specifies whether to display a title bar for the window. This parameter is ignored unless the calling application is an HTML Application or a trusted dialog box. The default is yes.
toolbar = { yes | no | 1 | 0 } Specifies whether to display the browser toolbar, making buttons such as Back, Forward, and Stop available. The default is yes.
top = number Specifies the top position, in pixels. This value is relative to the upper-left corner of the screen. The value must be greater than or equal to 0.
width = number Sets the width of the window, in pixels. The minimum value is 100.

bReplace Optional. When the sURL is loaded into the same window, this Boolean parameter specifies whether the sURL creates a new entry or replaces the current entry in the windows history list. true sURL replaces the current document in the history list
false sURL creates a new entry in the history list.

Return Value

Returns a reference to the new window object. Use this reference to access properties and methods on the new window.
福利活动
  • [01-25]微信小程序红包活动汇总,长期有效持续更新!
  • [01-25]每天领取饿了么优惠卷满20减19
  • [01-25]1分钱撸实物活动,简单!
  • [01-24]知乎答案奇遇夜抽最高2022元现金红包
  • [01-24]无线淮安集西游人物卡瓜分10万元微信红包、50万实物
  • [01-24]美团每天领压岁钱活动瓜分8亿美团红包 1月31日9:00瓜分领取
  • [01-24]抖音0.01元充值10元话费+8元充值10元话费
  • [01-24]王者荣耀部分用户登录游戏领5Q币
  • [01-24]饿了么集福星达一定数量必中实物/红包 数量有限先到先得
  • [01-24]微信摇一摇抽百信银行红包封面 亲测已领取
  • [01-23]鱼跃医疗虎年福利嗨不停抽随机微信红包、实物
  • [01-23]百味来意大利面迎福气红包雨抽10万个微信红包
  • [01-23]腾讯视频预约年夜fan抽最高88元现金红包、腾讯视频会员秒到
  • [01-23]中国银行1.12元充10元手机话费 开通宝宝存钱罐领8.88元话费券
  • [01-23]领京东最高5元无门槛红包
  • [01-23]支付宝免费领CoCo5元奶茶优惠券和随机福卡一张
  • 相关内容
    猜你喜欢
    热门推荐
  • 网名
  • 唯美图片
  • 严嘉俊
  • qq头像个性网
  • 樱井俊介
  • qq皮肤情侣
  • 空间留言板留言大全
  • 幽默短信
  • 中秋的祝福
  • 中秋节商务祝福语
  • 熄灯日
  • 软件测试需要学什么
  • 我心匪石 不可转也
  • 阴径有多长算正常
  • 假面骑士decade主题曲
  • 哪里算命准
  • 打长途加什么便宜
  • 怎么找网络水军
  • 毛泽东思想的形成
  • 中国的传统文化有哪些
  • All Right Reserved 完美网