By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,247 Members | 1,287 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,247 IT Pros & Developers. It's quick & easy.

hide titlebar from the window.showModalDialog()

P: 70
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.showModalDialog(), 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.showModalDialog(
"MyTask.aspx?ID=" + id + "&refId=" + refId + "&refType=" + refType ,
"", "titlebar:No;dialogWidth:450px;dialogHeight:250px; resizable:no;status:no;help:no;");
Jan 8 '08 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
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.
Jan 8 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.