摘要:
$(document).contextmenu(function(e){ return false; }); $(document).contextmenu(function(e){ if(e.button==0||2){ alert("右键点击成功!"); } }); 转自:https://www 阅读全文
摘要:
<link rel="stylesheet" href="css/jquery-ui.min.css"> <div id="containment-wrapper"></div> $(function() { $("#containment-wrapper").resizable({ handles 阅读全文
摘要:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .DreamMenu { position: absolute; visibility: hidden; z-in 阅读全文
摘要:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>纯JS日历插件(注释全)</title> </head> <body> <input type="text" style="border:1px solid #999;" oncl 阅读全文
摘要:
$(document).on('click touchstart', '#btn', function(){ alert(); }); 阅读全文
摘要:
var ua = navigator.userAgent.toLowerCase(); var isWeixin = ua.indexOf('micromessenger') != -1; var isAndroid = ua.indexOf('android') != -1; var isIos 阅读全文
摘要:
<view bindtap='showButton'>点击</view> <view class="Mask {{MaskView?'hide':'show'}}">受控制的view</view> data: { MaskView: true, }, showButton: function () 阅读全文
摘要:
<!-- 主容器 --> <view class="stepper"> <!-- 减号 --> <text class="{{minusStatus}}" bindtap="bindMinus">-</text> <!-- 数值 --> <input type="number" bindchange 阅读全文
摘要:
转:https://blog.csdn.net/JamieCheung/article/details/80163986 // 点击div框外,关闭div$('#productDetailDiv').click(function(event) { $('#productDetailDiv').hid 阅读全文
摘要:
var Nearby = $("#Nearby").offset().top; //获取Nearby距离top的高度 mui('.mui-scroll-wrapper').scroll().scrollTo(0,-Nearby,100); //滑到Nearby处 阅读全文