var getValue = function(className) {
var $elem = $('' + className + '');
// 走路的路线坐标
return {
height: $elem.height(),
top: $elem.position().top
};
};来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2766/viewspace-3127253/ ,如需转载,请注明出处,否则将追究法律责任。