JQUERY基础教程
演示简单的jQuery animate()函数。
$(document).ready(function(){
$(".ex.hide").click(function(){
$(this).parents(".ex").hide("slow");
});
});
div.ex
{
background-color:#e5eecc;
padding:7px;
border:solid1px#c3c3c3;
}
Island Trading
亲自试一试
HTML元素默认是静态定位,且无法移动。
如需使元素可以移动,请把CSS的position设置为relative或absolute。
相关主题
相关文档
最新文档