I want to open a child window to work like alert box in Firefox. and user should close the window before proceeding with any other operation. I want to do this because in Firefox the alert box title displays the ipaddress and I want to customize it.
Asked
Active
Viewed 877 times
0
-
Write it by your own. What have you tried? – gdoron Mar 11 '12 at 04:57
-
1Use one of the many modal dialog box libs. http://code.google.com/p/submodal/ or one of the numerous jQuery solutions – Matt Esch Mar 11 '12 at 05:05
2 Answers
0
Based on your description, another window does not seem like a reasonable solution. There are many JavaScript plugins that will give you a modal overlay within the same page (more analogous to an alert box).
Maybe have a look at:
http://jqueryui.com/demos/dialog/
or

Shane
- 271
- 1
- 3
- 6
0
Here is a basic example of a modal dialog box I wrote in response to another SO-question.

KooiInc
- 119,216
- 31
- 141
- 177