473,395 Members | 1,653 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

web page dialog

how does one create a web page dialog? I was astonished to find in Hotmail when you empty your junkmail box in hotmail that a explorer window pops up and emulates as a dialog window but with a custom web page in it. It confirms that are you sure that you want to empty your junk-mail inbox. on the window title bar it says "Hotmail - Web Page Dialog". it even behaves like a dialog not letting you to go back to the original explorer window until ou click something in the dialog box.

so I was wondering how does one create a web dialog box, is it a new javascript function besides the simple dialogs that generate windows message box?

thanks...
Nov 18 '05 #1
2 3112
In Internet Explorer within your javascript you can use :

vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])

here is a link to the full documentation :

http://msdn.microsoft.com/library/de...odaldialog.asp
In netscape :

var dialogWindow = window.open("dialog.html","dlog","height=300,width =450,modal=yes")

Hope this helps.

-joe
"Angel" wrote:
how does one create a web page dialog? I was astonished to find in Hotmail when you empty your junkmail box in hotmail that a explorer window pops up and emulates as a dialog window but with a custom web page in it. It confirms that are you sure that you want to empty your junk-mail inbox. on the window title bar it says "Hotmail - Web Page Dialog". it even behaves like a dialog not letting you to go back to the original explorer window until ou click something in the dialog box.

so I was wondering how does one create a web dialog box, is it a new javascript function besides the simple dialogs that generate windows message box?

thanks...

Nov 18 '05 #2
In Internet explorer the following syntax will open a modal dialog
vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])

Here is the link to msdn ShowModalDialog Docs :
http://msdn.microsoft.com/library/de...odaldialog.asp

In Netscape use :
var dialogWindow = window.open("dialog.html","dlog","height=300,width =450,modal=yes")

Hope this helps.
joe

"Angel" wrote:
how does one create a web page dialog? I was astonished to find in Hotmail when you empty your junkmail box in hotmail that a explorer window pops up and emulates as a dialog window but with a custom web page in it. It confirms that are you sure that you want to empty your junk-mail inbox. on the window title bar it says "Hotmail - Web Page Dialog". it even behaves like a dialog not letting you to go back to the original explorer window until ou click something in the dialog box.

so I was wondering how does one create a web dialog box, is it a new javascript function besides the simple dialogs that generate windows message box?

thanks...

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Hal Halloway | last post by:
Newbie looking for the way have a dialog box and when a user goes to this page they see *nothing*, Except for a dialog box pop, the box says: "are you sure?" Yes/No. If user clicks yes they see the...
7
by: Brian Paul | last post by:
When a user clicks on a linkbutton on a page, i would like to render a printer-friendly version of the asp.net page and download it as an html attachment to the browser. The code below works great,...
2
by: Patrick | last post by:
i have the following .aspx file defined: ..... other tags here ... <asp:TableCell><asp:button id="AddButton" Runat="server" Text="Add New Vessel..."</asp:button></asp:TableCell> ..... other tags...
2
by: Marco Antonio Montalvo Durán | last post by:
hi for example, I have a page 'register.aspx' and open a second page 'popup.aspx', what I want to do is to pass the control and values obtained in 'popup.aspx' to 'register.aspx', somebody...
6
by: Fred | last post by:
I have implemented a dialog box (an aspx page) using showModalDialog. Because the dialog needs to process postbacks, I have implemented it in a frameset. In the top of the framset page, I have...
2
by: Samy | last post by:
Hi There, I have a user control with buttons on it which I use on a aspx page (parent page). On a button click, a modal dialog(aspx page) opens up and the user enters some info in the modal dialog...
0
by: Siv | last post by:
Hi, This is driving me nuts, I have created a custom print preview dialog, I have a toolbar at the top of the window that allows the user to select a page setup dialog and a printer dialog. All...
1
by: Curious Trigger | last post by:
Hi there, programming with Visual Studio 2005 and ASP.NET 2.0 I want to open a modal dialog from Default.aspx. I searched the net and many newsgroups but I couldn't find any solution. First I...
7
by: Peter | last post by:
ASP.NET 2.0 I am trying to open a Word document and Excel document from a dialog web page, what's the best way to do that? I have tried the following: Response.Clear();...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.