How to display overlay on window using php/jquery

288 views Asked by At

I have to disable website links all. if i place any overlay on website but it is not the right solution because we can remove that overlay using firebug or any browser tools...so is there any possible to freeze the site with out any actions...

Thanks, Murali

1

There are 1 answers

0
Feroza On

if you using jquery you can disable link action as follow

$(document).ready(function(e) {
    $('a').click(function(e){ 
        e.preventDefault();
    });
});

Basically e.preventDefault will intercept the default action