Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How set my own title in confirm window ?

Status
Not open for further replies.

serg22

Programmer
Joined
Aug 7, 2006
Messages
2
Location
US
Different browsers set different titles in confirm window.
e.g. IE - 'Microsoft Internet Explorer',
Opera - 'JavaScript',
FireFox - current url
But I want to set my own title that any browser would show only it
 
you can't. you'd need to create a custom page or styled div to do so - you cannot change the properties of a javascript prompt, alert or confirm box.



*cLFlaVA
----------------------------
[tt]somebody set up us the bomb![bomb][/tt]

[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
if you mean under 'custom page' window.open() that in this case there is another problem: I need not resizable window, but some browsers ignore attribute 'resizable=no' in open function
 
and there is nothing you can do about that. why shouldn't the user have ultimate control over their own computer and the applications they run?



*cLFlaVA
----------------------------
[tt]somebody set up us the bomb![bomb][/tt]

[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top