473,789 Members | 2,785 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Disable the stop button in IE6

Is there anyway to disable the stop button in IE 6?
Without doing "Opening in new window and toolbar is set to no"
what will document.onstop help in??

I need to capture the browser stop event...is it possible?

Sep 28 '05 #1
7 4681
Gayathri a écrit :
Is there anyway to disable the stop button in IE 6?
No.
Without doing "Opening in new window and toolbar is set to no"

Hotkeys are still available even without the toolbar: ESC key.
what will document.onstop help in??

I need to capture the browser stop event...is it possible?


Capturing the stop loading event or capturing the closing window event
is possible. But to prevent the user from using the stop button is
another story.

Why would you want to prevent the user of making use of the stop button?
What you are asking, looking for is considered outright abuse, excessive
control over the user, you know.

Gérard
--
remove blah to email me
Sep 28 '05 #2

Gayathri wrote:
I need to capture the browser stop event...is it possible?


Do you want to detect when someone presses stop before the page has
finished loading?

Sep 28 '05 #3
When the submit is happening,I need to detect the stop button press.
I don't want the user to stop the browser when the submit is happening.

Sep 28 '05 #4
I have a global flag

var submitflag =false;

before submitting I am checking if that flag is false,If its false I am
proceeding with the submit else stopping.
if(!submitFlag)
{
submitFlag=true ;
hidActionId.val ue="A";
submit();
}

I am doing this to avoid multiple submit hits when a submit is
happening.
If the user presses the Browser stop when the page is submitting then
again he cannot click submit,As the submit flag is set to true before
submit( ).The user has to reload the page to submit the page.This is
the problem

Hope its clear!

Sep 28 '05 #5
Gayathri wrote:
I am doing this to avoid multiple submit hits when a submit is
happening.


Can you just disable the submit button(s) with an onclick handler?
Sep 28 '05 #6

Gayathri wrote:
I am doing this to avoid multiple submit hits when a submit is
happening.


You'd be much better off coding the server side of the application to
deal correctly with multiple submit button clicks.

Sep 29 '05 #7
Gayathri wrote :
When the submit is happening,I need to detect the stop button press.
I don't want the user to stop the browser when the submit is happening.

Your post here is as much non-justifiable as preventing someone from
stopping a file download once the download has started. The user should
be able to stop a file download or a form submission *_at any time_*. A
tv viewer should be able to zap to another channel at any time as well,
in the middle of a serie episode or in the middle of an advertisement.
What you're trying to do is non-sense to me.

In your own logic, your next step is how to detect the user who is about
to leave your site or about to disconnect from internet and how to
prevent that.
Then, your next step is how to detect the user who is about to turn off
his computer and how to prevent him from doing that.

Gérard
--
remove blah to email me
Sep 29 '05 #8

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

Similar topics

5
1699
by: Vern | last post by:
I would like to disable a button on the form if the user is not authorized to use it. I've created a custom button and would like for each button to know if it should be enabled or disabled based on another class that would contain the users authority levels. I know I can use the on form load event, but I rather test to see if the user has access to the button during the buttons OnPaint event? If they don't have access, I'd like to...
1
2198
by: microsoft | last post by:
I am looking for code for a button on a website, and I want it to prevent users from clicking more than once while their request is being processed. I would like it to disable or hide the button once clicked and then enable it after the process is completed from either the server or a web dialog box. I did find a sample on disabling the button while the server is processing their request and the sample was found here: ...
2
2061
by: blarfoc | last post by:
Hi, I have to disable a button on a aspx page after the user clicks it. I have to disable the button with javascript because the process takes 20 seconds to run the full course. I kno I need to do this with javascript but I do not kno how. Please tell me if you will please.
6
376
by: jack-e | last post by:
Hi, Can someone please provide me with an example of how to disable the submit button once clicked (using javascript i guess). Keep in mind I also have to invoke a server side function which processes the form. Thanks in advance. Jack
16
3461
by: Barry Gilmore | last post by:
Is there a way to disable a button after it is clicked? I am trying to avoid having someone click on it twice while they wait for it to process. Thank you!
8
9970
by: GS | last post by:
Hi, This is probably known solution but I have not found it in minimum amount of code. I'd like to disable button on client-side after clicking on it. Just disabling it in javascript do not produce postback event. Any examples in ASP.NET 2.0? Thanks,
8
2051
by: Richard Maher | last post by:
Hi, I am in a mouseup event for button A and I'd like to disable=false button B before starting some work. Is there anyway that an event for button B can then fire before my event processing for button A's mouseup has completed? I beleive event processing to be single-threaded for good reason but I need a "stop" button and it's no good if it doesn't do anything until the other processing has finished :-)
1
2498
by: jagan1976 | last post by:
I want to disable close button for each report and it would apply to all users. Is there any script or method available which will disable close button for all reports at once without using properties. Please let me know the ideas to do. It would be better if the close button of all reports are disabled globally (if common propertity or script available) Thanks in advance, Jagan
1
4327
by: Shaba99 | last post by:
Hey everyone, New to this forum, but i search for answers here often. I have a c# windows application which embeds windows media player on the form. The application (biz rule) requires that the user plays the media file before continuing and saving the file. i would do this by insuring that the currentposition in the file being played is not = 0. However, if the user clicks the stop button in media player, the position goes to 0...
0
9666
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
10408
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10199
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...
0
9020
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
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
6769
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
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3700
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.