묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
jquery 작동 관련
2015.05.22 16:42
JQuery(function($){
//검색창
function blogSearch(q) {
$("body,html").animate({
scrollTop: "0"
});
$("#search-resultWrap").addClass("opened appearing");
$("#search-result").html('');
$("#search-result").load(location.origin + '/search/' + encodeURI(q) + ' #searchList',
function() {
$("#search-result").append('<div class="moreResult flatbutton"><a href="' + location.origin + '/search/' + encodeURI(q) + '">검색결과 전체 보기</a></div>');
$("#search-resultWrap").css("height", ($("#search-result").height() + 70) + "px");
}
);
}
중략
});
이렇게 코드를 작성해도 여전히 작동하지를 않습니다... 왜그럴까요..ㅠ