Javascript 禁用HTML元素
如何禁用页面 我使用scriptaculous/prototype编写了以下代码。它只是将一个div移动到中心(实际上是100100)。我想整个背景(所有元素)被禁用,除了这个divJavascript 禁用HTML元素,javascript,prototypejs,scriptaculous,Javascript,Prototypejs,Scriptaculous,如何禁用页面 我使用scriptaculous/prototype编写了以下代码。它只是将一个div移动到中心(实际上是100100)。我想整个背景(所有元素)被禁用,除了这个div new Effect.Move(element, {x:100,y:100,duration:1}); 我建议在div中覆盖其余元素,然后使用z索引将居中div移到顶部。与下面类似 #disableElements{ display:none; position:fixed; height:10
new Effect.Move(element, {x:100,y:100,duration:1});
我建议在div中覆盖其余元素,然后使用z索引将居中div移到顶部。与下面类似
#disableElements{
display:none;
position:fixed;
height:100%;
width:100%;
top:0;
left:0;
}
“残疾”是什么意思?形式元素?