? ??? ???? jQuery? ??? ????? ?? ? ??? ?????. ???? ? ??? ?? ??? ?????. ??? ??? ??? ????.
//初始化文檔 $(document).ready(); //----------------彈出DIV仿模態(tài)窗口開始---------------- var divW; //DIV寬度 var divH; //DIV高度 var clientH; //瀏覽器高度 var clientW; //瀏覽器寬度 var divTitle; //DIV標(biāo)題 var pageUrl; //DIV中加載的頁(yè)面 var div_X; //DIV橫坐標(biāo) var div_Y; //DIV縱坐標(biāo) function DivWindowOpen(divWidth,divHeight,title,url){ divW = divWidth; //DIV寬度 divH = divHeight; //DIV高度 divTitle = title; //DIV高度 pageUrl = url; //DIV中加載的頁(yè)面UR lockScreen(); //鎖定背景 divOpen(); $("#divTitle").append(divTitle); $("#divContent").load(pageUrl); //交換X圖片 $("#x").hover( function(){ $(this).attr("src","images/Close-2.gif"); }, function(){ $(this).attr("src","images/Close-1.gif"); } ); //關(guān)閉DIV窗口 $("#x").click( function(){ clearDivWindow(); clearLockScreen(); } ); } //返回彈出的DIV的坐標(biāo) function divOpen(){ var minTop = 80; //彈出的DIV記頂部的最小距離 if($("#divWindow").length == 0){ clientH = $(window).height(); //瀏覽器高度 clientW = $(window).width(); //瀏覽器寬度 div_X = (clientW - divW)/2; //DIV橫坐標(biāo) div_Y = (clientH - divH)/2; //DIV縱坐標(biāo) div_X += window.document.documentElement.scrollLeft; //DIV顯示的實(shí)際橫坐標(biāo) div_Y += window.document.documentElement.scrollTop; //DIV顯示的實(shí)際縱坐標(biāo) if(div_Y < minTop){ div_Y = minTop; } $("body").append("<div id='divWindow'><div id='divTitle'><img src='images/Close-1.gif' id='x' /></div><div id='divContent'>載入中</div></div>"); //增加DIV //divWindow的樣式 $("#divWindow").css("position","absolute"); $("#divWindow").css("z-index","200"); $("#divWindow").css("left",(div_X + "px")); //定位DIV的橫坐標(biāo) $("#divWindow").css("top",(div_Y + "px")); //定位DIV的縱坐標(biāo) $("#divWindow").css("opacity","0.9"); $("#divWindow").width(divW); $("#divWindow").height(divH); $("#divWindow").css("background-color","#FFFFFF"); $("#divWindow").css("border","solid 1px #333333"); //divTitle的樣式 $("#divTitle").css("height","20px"); $("#divTitle").css("line-height","20px"); $("#divTitle").css("background-color","#333333"); $("#divTitle").css("padding","3px 5px 1px 5px"); $("#divTitle").css("color","#FFFFFF"); $("#divTitle").css("font-weight","bold"); //x的樣式 $("#x").css("float","right"); $("#x").css("cursor","pointer"); //divContent的樣式 $("#divContent").css("padding","10px"); } else{ clientH = $(window).height(); //瀏覽器高度 clientW = $(window).width(); //瀏覽器寬度 div_X = (clientW - divW)/2; //DIV橫坐標(biāo) div_Y = (clientH - divH)/2; //DIV縱坐標(biāo) div_X += window.document.documentElement.scrollLeft; //DIV顯示的實(shí)際橫坐標(biāo) div_Y += window.document.documentElement.scrollTop; //DIV顯示的實(shí)際縱坐標(biāo) if(div_Y < minTop){ div_Y = minTop; } $("#divWindow").css("left",(div_X + "px")); //定位DIV的橫坐標(biāo) $("#divWindow").css("top",(div_Y + "px")); //定位DIV的縱坐標(biāo) } } //鎖定背景屏幕 function lockScreen(){ if($("#divLock").length == 0){ //判斷DIV是否存在 clientH = $(window).height(); //瀏覽器高度 clientW = $(window).width(); //瀏覽器寬度 //var docH = $("body").height(); //網(wǎng)頁(yè)高度 //var docW = $("body").width(); //網(wǎng)頁(yè)寬度 //var bgW = clientW > docW ? clientW : docW; //取有效寬 //var bgH = clientH > docH ? clientH : docH; //取有效高 $("body").append("<div id='divLock'></div>") //增加DIV $("#divLock").height(clientH); $("#divLock").width(clientW); $("#divLock").css("display","block"); $("#divLock").css("background-color","#000000"); $("#divLock").css("position","fixed"); $("#divLock").css("z-index","100"); $("#divLock").css("top","0px"); $("#divLock").css("left","0px"); $("#divLock").css("opacity","0.5"); } else{ clientH = $(window).height(); //瀏覽器高度 clientW = $(window).width(); //瀏覽器寬度 $("#divLock").height(clientH); $("#divLock").width(clientW); } } //清除背景鎖定 function clearLockScreen(){ $("#divLock").remove(); } //清除DIV窗口 function clearDivWindow(){ $("#divWindow").remove(); } //窗口大小改變時(shí) $(window).resize( function(){ if($("#divLock").length != 0){ lockScreen(); } if($("#divWindow").length != 0){ divOpen(); } } ); //----------------彈出DIV仿模態(tài)窗口結(jié)束---------------- //改變風(fēng)格 function ChangeStyle(styleName){ skinName = styleName; //SetCookie("Skin", skinName); alert(styleName); window.location.reload(); }

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

jQuery ?? ??? ?? ??? ??: ?? ?? ??? jQuery? ? ??? ??? ?? ???? JavaScript ??????, JavaScript ?????? ????? ????? ??? ??? ?????. ? ????? jQuery? ?? ??? ??? ???? ??? ??? ??? ? ??? ???? ?? ??? ?????. jQuery ?? ?? HTML ??? jQuery ?????? ???? ???. CDN ??? ?? ????? ????? ? ????.

jQuery?? PUT ?? ??? ???? ??? ?????? jQuery?? PUT ??? ??? ??? ?? ??? ??? ??? ?? ????? ? ?? ?? ??? ?? ?? ??? ???? ???. PUT ??? ????? ??????? ??? ???? ?? ??? ?? ????? ?? ???? ?????? ? ?????. ??? jQuery?? PUT ?? ???? ???? ???? ?? ?????. ?? jQuery ????? ??? ????? ??? ?? $.ajax({u? ?? PUT ??? ?? ? ????.

??: jQuery ?: ???? ?? ?? ??? ???? ??? ?????. ? ????? ???? ??? ???? ???? ?? ??? ????. jQuery? ??? ? ???? ?? ?? ??? ??? ??? ? ?? ???? ?? ??? ???, ?? ??? ???? ??? ? ????. ??? jQuery? ???? ???? ?? ?? ???? ??? ???? ??? ???? ???? ?? ??? ?????. ?? jQuery ????? ??? ???? ?? ??? ???? ?????? ???? ???. <

??: jQuery? ???? ?? ??? ??? ??? ?????. jQuery? DOM ??? ???? ? ?? ???? ?? ?? JavaScript ????????. ? ??? ?? ?? ???? ?? ?? ??(??)? ??? ??? ???? ?? ??? ?? ????. ? ????? jQuery? ???? ? ??? ???? ??? ???? ???? ?? ??? ?????. ?? ???? jQuery ?????? ???? ???. HTML ??? ?? ??? ?????.

jQuery? ???? ??? ?? ??? ???? ??? ?????? ????? ????? ??? ?? ??? ???? ?? ??? ?? ????. ??? ??? ??? ???? ???? ? ?? ?? ??? ?? ??? ???? ?? ??? ????. ? ????? jQuery? ???? ??? ?? ??? ???? ??? ???? ???? ?? ??? ?????. jQuery? ???? ?? ??? ???? ?? ?? CSS? ?? ??? ???? ???. height ??? ??? ??? ???? ? ?????.

jQuery? ? ????? DOM ?? ? ??? ??? ???? ? ?? ???? ?? ?? JavaScript ????????. jQuery?? eq() ???? ??? ??? ???? ??? ???? ? ?????. ???? ?? ? ?? ????? ??? ????. jQuery?? eq() ???? ??? ??? ??? ?? ??? ?????. ??? ??? 0?? ???? ?????. ?, ? ?? ??? ???? 0?? ? ?? ??? ???? 1???. eq() ???? ??? ??? ????: $("s

jQuery? ? ??? ?? ???? ?? ?? JavaScript ????????. ? ?? ?? JavaScript? ?? ???? ? ?? ???? ???? ?? ??? ????. ? ????? jQuery? ???? ???? ? ?? ???? ??? ???? ?? ?? ??? ?????. ?? HTML ???? jQuery ?????? ???? ???. jQuery ?????? ?? ??? ?? ??? ??? ? ????.

jQuery ??? ?? ??? ??? ??? ? ? ???? jQuery? ???? DOM ??? ??? ? ??? ?? ??? ??? ???? ?? ??? ?? ?????. ? ?? jQuery?? ???? ???? ???? ? ??? ?? ??? ? ????. ??? jQuery ??? ?? ??? ??? ???? ?? ????? ???? ? ?? ??? ?? ?? ??? ?? ?????. ?? 1: attr() ???? typeof ???? // ???? ??? ?? ??? ??? ??
