473,473 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Replacement for window.showModalDialog in Mozilla

6 New Member
Hi all,
can you tell me the replacement for window.showModalDialog in Mozilla.
the code given below works well in IE but it doesn't work in Mozilla.
Is there any replacement for this method in Mozilla.?
If so then please help me by giving an example

Expand|Select|Wrap|Line Numbers
  1. window.showModalDialog("../login/html/AdminLogin_User.html",loginType,style
  2.  
Dec 21 '07 #1
4 13382
frozedog
3 New Member
Hi all,
can you tell me the replacement for window.showModalDialog in Mozilla.
the code given below works well in IE but it doesn't work in Mozilla.
Is there any replacement for this method in Mozilla.?
If so then please help me by giving an example


<CODE>
window.showModalDialog("../login/html/AdminLogin_User.html",loginType,style
</CODE>

Have you tried showModelessDialog
Dec 21 '07 #2
gits
5,390 Recognized Expert Moderator Expert
the standard method is to use window.open(); which always work ... to produce a cross-browser modal dialog you could create a custom dhtml-dialog out of a combination of 'divs'

kind regards
Dec 21 '07 #3
acoder
16,027 Recognized Expert Moderator MVP
Have you tried showModelessDialog
Firefox and others do not support showModalDialog and showModelessDialog. They're non-standard.
Dec 22 '07 #4
Roman R
2 New Member
Hi,

I have created a jQuery function: showModalDialog which works on all major browsers: IE, Chrome, Safari and Firefox.

You can see the entire article on my blog: http://extremedev.blogspot.com/2011/...owser-new.html
Mar 10 '11 #5

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

Similar topics

6
by: Cortes | last post by:
Hi all, I have this parent window poping up the child window. SOmething like this popupWinA= window.open("child.html","popupWinA"," width=300 , height=150) I want this child popupWinA always...
1
by: mtz | last post by:
On IE there is a way to open a window from one page and pass an object to it, when you use showModalDialog. Is there a way to do the same on NS/Mozilla/FireFox? On IE:...
10
by: CyberBless | last post by:
I have a page that opens a child window using window.open(...). How do I make so that when that child window opens you cannot get the focus back on the parent window unless you close the child...
6
by: Scott Lee | last post by:
I am displaying an ASP.Net generated form in a popup opened with window.showModalDialog. The form contains DropDownList controls. The first ddl is populated via databinding to a datatable, has...
5
by: anand basha | last post by:
what is the replacement for window.navigate in mozilla & i was used window.showmodelessdialog in IE5 - in mozilla it is not working *** Sent via Developersdex http://www.developersdex.com...
1
by: anand basha | last post by:
Hi, What is the replacement for window.showModalDialog in Mozilla or give the Alternate solution *** Sent via Developersdex http://www.developersdex.com ***
1
by: John | last post by:
Hi, I'm having a problem opening / downloading csv files when called from a page opened with window.showModalDialog( ). To isolate this problem, I've written 3 files (see below). 1. main.htm...
9
by: loga123 | last post by:
I am using asp .net 2.0. I have a hyperlink asp control on my web page page1.aspx. On clicking this hyper;link, I would like to open page2.aspx (which is in the same web application) in a new IE...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.