File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Disable the page if user clicks any link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disable the page if user clicks any link" Watch "Disable the page if user clicks any link" New topic

Disable the page if user clicks any link

Mukil Kumar

Joined: Apr 06, 2005
Posts: 12

I don't want to allow the user to do any other action on the web page once a hyperlink is clicked in the page. (ie) the browser should show busy cursor.

can anybody help?

Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
create a transparent div on top of the whole page with cursor style busy.

Here is an exaple:

[ June 16, 2006: Message edited by: Yuriy Fuksenko ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63848


There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Disable the page if user clicks any link
It's not a secret anymore!