700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > 禁止选中文字兼容IE Chrome FF等【jquery】

禁止选中文字兼容IE Chrome FF等【jquery】

时间:2018-11-11 04:55:38

相关推荐

禁止选中文字兼容IE Chrome FF等【jquery】

web前端|js教程

禁止复制,禁止选文字

web前端-js教程

shell脚本源码,vscode转换xml,ubuntu程序怎么复制,tomcat下temp,sqlite3 字段,淘宝放大镜插件,前端页面布局最近框架,爬虫学习的基础,php怎么打开文件,淘宝seo 骗,凡诺企业网站php,微信聊天网页模板,ecshop 获取模板目录结构,html5 上下切换页面,用户管理系统源码,html5程序设计第2版 源码lzw

$(el).attr(unselectable,on)

.css({-moz-user-select:-moz-none,

-moz-user-select: one,

-o-user-select: one,

-khtml-user-select: one, /* you could also put this in a class */

-webkit-user-select: one,/* and add the CSS class here instead */

-ms-user-select: one,

user-select: one

}).bind(selectstart, function(){ return false; });

根据上面分析 可以设置 你需要禁止选中文字区域的 css。如:

发卡源码授权,vscode打开bin文件,ubuntu卡桌面,tomcat自动解压,sqlite3 主键 类型,爬虫击杀秀完整版视频,微盾加密php,唐山seo数据监控,网站首页源代码,流程图 网页版,织梦响应式企业模板lzw

.table {

text-align: center;

vertical-align:middle;

height: 39px;

overflow: hidden;

moz-user-select: -moz-none;

-moz-user-select: none;

-o-user-select:none;

-khtml-user-select:none; /* you could also put this in a class */

-webkit-user-select:none;/* and add the CSS class here instead */

-ms-user-select:none;

user-select:none;/**禁止选中文字*/

}

易语言鼠标移动轨迹源码,在ubuntu安装r,如何识别爬虫请求,php文学超级,外贸seo顾问lzw

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。