我没有找到 .position() 的 jQuery 设置版本的文档?我所看到的只是 http://api.jquery.com/position 的获取版本.
用法如下:
jQuery(theElement).position({
my: "center",
at: "center",
of: ElementPositionedAgainstTo,
offset: "0 0"
});
最佳答案
那就是 jQuery UI .position()
关于jquery - jQuery set 版本的 .position() 的文档在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4684333/