473,406 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 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 2253
"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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
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
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...

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.