用window.showModalDialog(url, arg, opt)打开的Window的右边的滚动条能去掉吗?
还有,普通的window的滚动条能去掉吗?

解决方案 »

  1.   

    可以的SyntaxvReturnValue = window.showModalDialog(sURL [, vArguments][, sFeatures])ParameterssURL Required. String that specifies the URL of the document to load and display. 
    vArguments Optional. Variant that specifies the arguments to use when displaying the document. Use this parameter to pass a value of any type, including an array of values. The dialog box can extract the values passed by the caller from the dialogArguments property of the window object. 
    sFeatures Optional. String that specifies the window ornaments for the dialog box, using one or more of the following semicolon-delimited values: dialogHeight:iHeight  Sets the height of the dialog window (see Res for default unit of measure). 
    dialogLeft:iXPos  Sets the left position of the dialog window relative to the upper-left corner of the desktop. 
    dialogTop:iYPos  Sets the top position of the dialog window relative to the upper-left corner of the desktop. 
    dialogWidth:iWidth  Sets the width of the dialog window (see Res for default unit of measure). 
    center:{ yes | no | 1 | 0 } Specifies whether to center the dialog window within the desktop. The default is yes. 
    help:{ yes | no | 1 | 0 } Specifies whether the dialog window displays the context-sensitive Help icon. The default is yes. 
    resizable:{ yes | no | 1 | 0 } Specifies whether the dialog window has set dimensions. The default for both trusted and untrusted dialog windows is no. 
    status:{ yes | no | 1 | 0 } Specifies whether the dialog window displays a status bar. The default is yes for untrusted dialog windows and no for trusted dialog windows.