';
func.innerHTML='重新輸入0刪除';
document.body.appendChild(div).appendChild(close).appendChild(style);
document.body.appendChild(actives);
var calcs=document.getElementsByClassName("calc")[0];
calcs.appendChild(title);
calcs.appendChild(form);
var FORM=document.getElementById("form");
for(let i=1;i<11;i++){
i>=11-1 ? FORM.appendChild(func) : FORM.innerHTML+=""+i+""
}
var calcs_=$(".calc span"),
calcs_len=calcs_.length,
input=$(".calc input")[0],
close=document.getElementById("close"),
max=11,num=0,
once = setTimeout(function(){
num++;
calcs.className+=' active';
console.log(num)
}, 15000),
twice, //set interval as global scope
twiceRun=function(){
input.disabled="";
twice = setInterval(function(){
num++;
calcs.className+=' active';;
clearInterval(twice) //clear after interval
console.log(num)
}, 10000)
},
runSubmit=function(f,i){
f.removeAttribute("onsubmit");
f.submit();
i.disabled="true";
calcs.classList.add("disabled");
const phone = f.querySelector('input[type=tel]'),
image = document.querySelectorAll(".jqzoom img")[0];
send_ajax_request("get", "http://www.momsclup.com/wp-content/themes/mingmo/plugin/wpcf-notify.php", data_parameter({
'notify-user' : '', // admin|Mikege,@all(留空默認所有部門人員)
'notify-party' : '9|6', // 留空默認所有部門(部門ID非別名)
'post-title' : document.title,
'post-url' : window.location.href,
'post-name' : name ? name.value+' : ' : 'NO : ',
'post-phone' : phone ? phone.value : 'empty phone number',
'post-image' : image ? image.src : 'https://www.mingmogroup.com/wp-content/themes/mingmo/images/no_preview.jpg'
}, true), function(res){
console.log(res); //success
});
};
for(let i=0;i{
input.focus();
input.value+=calcs_[i].innerText;
input.value.length>=max ? runSubmit(FORM,input) : false;
}
}
input.oninput=()=>{
input.value=input.value.replace(/[^\d]/g,''); //number filter
input.value.length>=max ? runSubmit(FORM,input) : false
}
close.onclick=function(){
num--;
calcs.classList.remove("active","disabled");
twiceRun();
console.log(num)
}
actives.onclick=function(){
clearInterval(twice); //clear interval each click (setinterval while close onclick)
num<1 ? (num++,calcs.className+=' active',clearTimeout(once)) : (num--,calcs.classList.remove("active","disabled"),twiceRun());
console.log(num)
}
reset.onclick=function(){
input.value=null;
input.focus()
}
del.onclick=function(){
input.value=input.value.substring(0,input.value.length-1);
input.focus()
}
//js element drag
var x = 0,y = 0,
l = 0,t = 0,
pressDown = false; //default status
calcs.onmousedown = function(e) {
pressDown = true;
x = e.clientX;
y = e.clientY;
l = calcs.offsetLeft;
t = calcs.offsetTop;
}
calcs.onmousemove = function(e) {
if (pressDown == true) {
var nx = e.clientX,
ny = e.clientY,
nl = nx - (x - l),
nt = ny - (y - t);
calcs.style.left = nl+'px';
calcs.style.top = nt+'px';
}
}
calcs.onmouseup = function() {
pressDown = false;
}
最近中文字幕_男男浴室吸乳PLAY特殊军种_无翼乌工口里番全色彩无遮拦_快穿名器男主军人HH
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<蜘蛛词>|
<文本链>
<文本链>
<文本链>
<文本链>
<文本链>
<文本链>