(테스트) 태그: 문서를 비웠습니다. 문서 옮기기는 도구-옮기기를 이용하세요. |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
$(document).scroll(function(){ | |||
var L = $(".form-control").map(function(i,e){var $e=$(e);return $e.offset().top+$e.outerHeight(true);}); | |||
$(".suggestions").css({top:Math.max(L[0],L[1])}); | |||
}); |