hide titlebar from the window.showModalDialog()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pankajprakash
    New Member
    • Feb 2007
    • 70

    hide titlebar from the window.showModalDialog()

    Hi, I need to open a dialog box, and no one can click another page during the open that dialog, for that i have used window.showModa lDialog(), but here i need to hide the title bar op that dialog. Would anyone help me how can i do that.

    here is code what i am using

    var ret = window.showModa lDialog(
    "MyTask.aspx?ID =" + id + "&refId=" + refId + "&refType=" + refType ,
    "", "titlebar:No;di alogWidth:450px ;dialogHeight:2 50px;resizable: no;status:no;he lp:no;");
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You do know that showModalDialog only works in IE, right?

    The titlebar can't be removed as far as I'm aware probably for security reasons.

    Comment

    Working...