473,811 Members | 3,737 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

replacement for window.showmode lessdialog in mozilla


what is the replacement for window.navigate in mozilla

&

i was used window.showmode lessdialog in IE5 - in mozilla it is not
working

*** Sent via Developersdex http://www.developersdex.com ***
Jan 17 '06 #1
5 4884
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.as p>
<URL:http://developer.mozil la.org/en/docs/DOM:window.loca tion>

-- 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.showmode lessdialog in IE5 - in mozilla it
is not working
Of course, window.showMode lessDialog() (case-sensitive!) it is a proprietary
method of the IE4+ DOM:

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

<URL:http://developer.mozil la.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.showMode lessDialog() (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 `showModalDialo g' in the Gecko DOM_, so no way to use
`showModalDialo g' in Mozilla(/5.0).

It appears there is an undocumented window.openDial og() 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.mozil la.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.mozill a.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.mozill a.org/attachment.cgi? id=115195&actio n=view>

--
Rob
Jan 17 '06 #6

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

Similar topics

4
7563
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 own close buttons. As it is, when you click back to the parent window, of course it comes in front of the child windows. Can I do this?
6
12076
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 stay on top of the parent window no matter where the focus is (so that when you click the parent, the child doesn't *disappear* because if its small size).
3
6204
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 is always on the top of the first opened one. Is there any "work around" to have the first opened one go to the front? Thanks in advance! Jack
1
6848
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
1187
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 again, even if i clear all session variables. i call the modal windows as: Response.write("<script>window.showModelessDialog('myPage.aspx','window', 'center:Yes;help:No;status:false;dialogWidth:740px;dialogHeight:395px')</script>")
1
2204
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 again, even if i clear all session variables. i call the modal windows as: Response.write("<script>window.showModelessDialog('myPage.aspx','window', 'center:Yes;help:No;status:false;dialogWidth:740px;dialogHeight:395px')</script>")
1
2721
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 support drag and drop objects from itself to the popup window - wait for user response in popup window and return results back to the parent window (i.e. calling showModalDialog() is preferred)
4
13423
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 this method in Mozilla.? If so then please help me by giving an example window.showModalDialog("../login/html/AdminLogin_User.html",loginType,style
0
9731
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10393
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10405
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10136
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6893
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5556
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5697
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.