我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何使用php / jquery在窗口上显示叠加层

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

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

近期文章

  • PHP命令行版本与apache不同
  • 如何按特定顺序重定向我的网页? [关闭]
  • if($ variable)和if(isset($ variable))之间的区别
  • 来自函数的PHP未定义索引通过jQuery发送
  • GMAIL Zend IMAP如何获取特定消息的ID
  • 从Objective-c中的php获取返回字符串的一部分[复制]
  • 如何避免在Jquery中验证几个文本框
  • PHP,从sql数据库显示泰国字符
  • 如何更改使用多个构造函数?
  • 如何在测试时模拟CakeRquest对象
  • 选择与当前商店实体相关的类别
  • 使用JSON从MySQL数据库获取的数据错误
  • 验证mysql行是否与另一行冲突
  • FusionCharts无法使用MySQL显示MySQL的数据
  • PHP LDAP绑定AD与服务器的用户帐户
  • 如何在下载框出现时重定向页面?
  • 发布到Facebook而不显示应用程序名称
  • Android / PHP-在Web服务器上发送txt文件?
  • 如何在使用php-fpm时从终端运行php -v
  • HybridAuth小部件不会出现在Drupal网站上

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华