472,961 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,961 software developers and data experts.

How to create a html page with "Back" button disabled

Hi,

I need to create a html page so that "Back" button(or some other
button) is disabled in IE browser.

I would appreciate your help.

Nick Li
Jul 20 '05 #1
5 2229
"Nick Li" <ni********@hotmail.com> wrote in message
news:bf**************************@posting.google.c om...
Hi,

I need to create a html page so that "Back" button(or some other
button) is disabled in IE browser.

I would appreciate your help.

Nick Li

You can't disable the Back button completely as "Alt+LeftArrow" does the
same thing.

Use "window.open()" -- there's no going back!

Search Google's "Groups" for "disable Back button"; it's been asked before!
Jul 20 '05 #2
On Wed, 17 Dec 2003 13:50:48 -0800, Nick Li wrote:
Hi,

I need to create a html page so that "Back" button(or some other
button) is disabled in IE browser.

I would appreciate your help.


If you're talking about a back button on your page add DISABLED to the
HTML element.

If you're talking about the back button on the application toolbar:

DO NOT disable my back button!!!!!!!

That goes on the list of unexceptable programming behavior right below
pop-ups and resizing the browser.

--
i.m.
The USA Patriot Act is the most unpatriotic act in American history.

Jul 20 '05 #3
Nick Li wrote:
Hi,

I need to create a html page so that "Back" button(or some other
button) is disabled in IE browser.

I would appreciate your help.

Nick Li


<url: http://jibbering.com/faq/#FAQ4_2 />

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 20 '05 #4
"Ivan Marsh" <an*****@you.now> writes:

[disabling the back button]
That goes on the list of unexceptable programming behavior right below
pop-ups and resizing the browser.


Above (if it was possible)! Usability studies have shown the back
button to be the *second* *most* *used* navigation method in a browser
(the most used being clicking on a link). So if someone disables the
back button, he interferes with one of the things the user depends on
the most.

I prefer the visible, although obnoxious, popups and resizings. They are
easily recognizable, and I can leave immediately (and most of them are
blocked by my browser anyway).

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #5
In article <bf**************************@posting.google.com >, ningli2000
@hotmail.com enlightened us with...
Hi,

I need to create a html page so that "Back" button(or some other
button) is disabled in IE browser.

I would appreciate your help.

Nick Li


Try coding properly instead.
Works wonders.
--
--
~kaeli~
Is it possible to be totally partial?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #6

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

Similar topics

1
by: Hugo Botha | last post by:
Hi, I have created 2 asp pages called testa.asp and testb.asp testa.asp has a link to go to next page testb.asp testb.asp has a form that ask you for a reference number and post it to the...
1
by: FluxForums | last post by:
<a href="" onclick="history.go(-1); return false;">Your Image or Tex Link</a -- FluxForum ----------------------------------------------------------------------- FluxForums's Profile:...
5
by: Dani | last post by:
Hello everybody, I have some code that disables form elements on body load, but I notice when I hit the "back" button, I need to re-enable the form elements (that is done by clicking on a radial...
1
by: yasin | last post by:
is it possible that pressing "previous page"(back) button of web browser by code ?
8
by: Coleen | last post by:
Yes, I know why would I want to create a back button when there is one on the browser? Because that's what the users want! they want a "Previous" button that they can click from any web page in...
5
by: ns21 | last post by:
How can the browser back button be disabled If the form is submitting information to other pages or submitting to itself or using redirections. I tried the tweaks like history.forward(1) in each...
1
by: Kothandaram | last post by:
Hi Friends, In my application I am traversing across pages. In many places I display sucess message using dynamically added javascript alert. I use a HTML button named 'Back' which gets the...
1
by: CoolRajan | last post by:
Hi friends, I have four form pages in my application and all the pages contain different fields for entering values in that. In my first page I have one Continue button and on submitting it...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

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.