Changing title bar of  modal/modless dialog boxes in html

Posted on 2003-03-06
Medium Priority
Last Modified: 2007-12-19
I am usuing modal dialog box for my application and i am using it like


i have remove the status bar but i want to change its title, default title is " Web page dialog" .Instead of this i want my application name, can you tell me please how it can be done.I have already tried my best to do this.
Question by:haroon8
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

gator4life earned 200 total points
ID: 8080389
If 'myModal.html' is the page that you are loading into with window.showModalDialog(), just put the normal <title></title> tag within the <head></head> tag of 'myModal.html':



     <title>My Modal Dialog</title>

     <!-- MODAL DIALOG CODE -->


This allows you to put in your application name, but you will not be able to remove the "-- Web Page Dialog" from the title, just like you can't remove the "- Microsoft Internet Explorer" from main pages.

(chomp, chomp)

Author Comment

ID: 8085947
Ok thanx , infact to modify the title i was looking for the parameters of modalDialog.But it would work atleast i can have the title of application, with dafault title "Web Page Dialog"

Thanx for your cooperation

Expert Comment

ID: 10426984
Hey...wait a minute.  I posted a correct response to this Q, so I think I deserve the points.  I was even thanked by the Q poster for my help.  So, what gives with refunding the points?

(chomp, chomp)

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This video teaches users how to migrate an existing Wordpress website to a new domain.
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question