Disabling all links on clicking one link

Asked By 0 points N/A Posted on -
qa-featured

Hi,

Good day and I need the code for disabling all other links when clicking on a link ( eg..20 links r 10 links are there if we click on one link then all should go to disable mode) and it should be written on " masterpage.master.cs " file so kindly help me out with the code asap.

Thanks Kaushik

SHARE
Best Answer by Ronald B Cline
Best Answer
Best Answer
Answered By 40 points N/A #125990

Disabling all links on clicking one link

qa-featured

Hello there Kaushik,

All you need to do to disable your link is to configure or to make some codes in your HTML using JavaScript or CSS.

There are a lot of tutorials out there to help you achieve what you want. You can Visit for some tutorials and view some discussion about disabling a link.

Hope this helps you.

Regards, Roland.

Answered By 10 points N/A #125991

Disabling all links on clicking one link

qa-featured

Hi Kaushikthallam,

Want to protect your source code? Using this code will prevent the vast majority of users from right-clicking over a page and choosing "View source", or right-clicking over an image and saving it.

All source code are in attached file.

Thanks for asking.

Login/Register to Answer

Related Questions