473,513 Members | 2,605 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

replacement for window.showmodelessdialog in mozilla


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 ***
Jan 17 '06 #1
5 4858
anand basha wrote:
what is the replacement for window.navigate in mozilla
(<URL:http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/navigate.asp>)

window.location = "...";

works in both --

<URL:http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_location.asp>
<URL:http://developer.mozilla.org/en/docs/DOM:window.location>

-- and it probably works in every HTML UA with client-side script support:

<URL:http://e-pla.net/documents/manuals/javascript-1.0/ref_h-l.html#location_object>
[...]
i was used window.showmodelessdialog in IE5 - in mozilla it
is not working
Of course, window.showModelessDialog() (case-sensitive!) it is a proprietary
method of the IE4+ DOM:

,-<URL:http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/showmodelessdialog.asp>
|
| [...]
| Standards Information
|
| There is no public standard that applies to this method.
Mozilla/5.0 implements the Gecko DOM:

<URL:http://developer.mozilla.org/en/docs/DOM:window>
*** Sent via Developersdex [...] ***


Don't. <URL:http://jibbering.com/faq/faq_notes/pots1.html>
PointedEars
Jan 17 '06 #2


Thomas 'PointedEars' Lahn wrote:

Of course, window.showModelessDialog() (case-sensitive!) it is a proprietary
method of the IE4+ DOM:


IE5+, IE 4 had showModalDialog only
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jan 17 '06 #3


Sir,
There is any way to use showModalDialog in mozilla,i was used
showModalDialog in IE , i have to convert IE to mozilla
now i urgently need your help

*** Sent via Developersdex http://www.developersdex.com ***
Jan 17 '06 #4
anand basha wrote:
There is any way to use showModalDialog in mozilla,


Is that a question?
^
Please follow the links that were posted before you post a followup.
_There is no `showModalDialog' in the Gecko DOM_, so no way to use
`showModalDialog' in Mozilla(/5.0).

It appears there is an undocumented window.openDialog() method in newer
Gecko-based UAs since rv:0.9 (because Netscape 6 is mentioned in the FAQ)
which may provide for a viable alternative, but I have never used that:

<URL:http://developer.mozilla.org/en/docs/DOM:window>
(I already posted this)

However, it appears also that it requires a signed and trusted script:
<URL:http://www.faqts.com/knowledge_base/view.phtml/aid/1602>

JFTR: Do not attempt to emulate a modal dialog by trying to keep a window
on top; it will only annoy your users when they try to use other browser
windows or tabs, and other application software that have a windowed GUI.
PointedEars
Jan 17 '06 #5
anand basha wrote:

Sir,
There is any way to use showModalDialog in mozilla,i was used
showModalDialog in IE , i have to convert IE to mozilla
now i urgently need your help


Below is a link to a long discussion about the pros and cons of allowing
modal dialogs.

<URL"https://bugzilla.mozilla.org/show_bug.cgi?id=194404>
The bottom line is that most developers are fundamentally opposed to
them, the only support comes from those who want it because IE has it -
not a particularly sound technical reason.

There are two things you can do to get a bit of modality:

1. Use script to force the pop-up to get focus every time the opener
gets focus. It's a rather awful idea because it causes the
windows to flash quite a bit, especially on older machines.

2. Open the pop-up with a Dependent attribute with value 1. This
isn't really modal, it just keeps the pop-up in front of the opener.
There is a sample here:

<URL:https://bugzilla.mozilla.org/attachment.cgi?id=115195&action=view>

--
Rob
Jan 17 '06 #6

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

Similar topics

4
7540
by: Simon Wigzell | last post by:
I have a couple of utility windows - a calculator and a calendar that popup from my main window. I would like them to always stay in front of the parent window until they are shut down with there...
6
12061
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...
3
6177
by: datactrl | last post by:
Hi, all When I use window.showModelessDialog() to open a window. And then on the opened window to open an another window with the same function, window.showModelessDialog(). The last opened one...
1
6829
by: sathyanrockie | last post by:
Plase tell me what is the difference between window.open and window.showmodelessdialog. Can we use window.showmodelessdialog in place of window.open?
0
1165
by: Laurahn | last post by:
Hi: i'm using modal window (showmodelessdialog) on asp. when the object is created i used session variables. After the object is closed the data is remaining on the modal window when is open...
1
2187
by: Laurahn | last post by:
Hi: i'm using modal window (showmodelessdialog) on asp. when the object is created i used session variables. After the object is closed the data is remaining on the modal window when is open...
1
2697
by: elizayiu | last post by:
Hi, I need to write a webpage which does the following: - open up a window and pass parameters into it (i.e. need to call showModalDialog() or showModelessDialog()) - contains jscript to...
4
13385
by: sarath chandran | last post by:
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...
0
7260
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
7160
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
7384
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,...
1
7099
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
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4746
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
3233
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
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1594
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.