jQuery仿手机通讯录选中删除联系人代码

jQuery仿手机通讯录选中删除联系人代码-精品资源网
jQuery仿手机通讯录选中删除联系人代码
此内容为免费资源,请登录后查看
0
免费资源

jQuery仿手机通讯录选中删除联系人代码

jQuery仿手机通讯录选中删除联系人代码,还支持单选多选全选、选择组等效果。

js代码

<script type=\"text/javascript\" src=\"js/jquery.min.js\"></script>
<script type=\"text/javascript\">
	// 判断是否为pc还是移动端。true为移动端
	function detectmob() {  
		if( navigator.userAgent.match(/Android/i)  
		|| navigator.userAgent.match(/webOS/i)  
		|| navigator.userAgent.match(/iPhone/i)  
		|| navigator.userAgent.match(/iPad/i)  
		|| navigator.userAgent.match(/iPod/i)  
		|| navigator.userAgent.match(/BlackBerry/i)  
		|| navigator.userAgent.match(/Windows Phone/i)  
		){  
			return true;  
		}  
		else {  
			return false;  
		}  
	}  
	if(!detectmob()) {
		$(\"#selectPage\").removeClass(\'weui-popup__container\');
		$(\"#selectPage .weui-popup__modal\").css({
			\"-webkit-transform\": \"none\",
			\"-moz-transform\": \"none\",
			\"-ms-transform\": \"none\",
			\"transform\": \"none\"
		})
		$(\"#seachPage\").css({
			\"z-index\": 120 
		})
		$(\"#selectPage .weui-popup__overlay\").addClass(\'hide\');
		$(\".sel-btn,.back-btn\").addClass(\'hide\');
		$(\".gray-bg\").css({
			\"position\":\"relative\",
			\"width\": 740,
			\"height\": 600,
			\"margin\": \"auto\"
		})
		$(\"#indexPage\").css({
			\"width\": 370
		})
		$(\"#selectPage\").css({
			\"width\": 370,
			\"position\": \"absolute\",
			\"height\": \"100%\",
			\"top\":0,
			\"right\":0
		})
	}
</script>
<script src=\"js/icheck.min.js\"></script>
<script src=\"js/jquery-weui.js\"></script>
<script src=\"js/doT.min.js\"></script>
<script src=\"js/mailList2.js\"></script>

© 版权声明
THE END
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容