head파일에서 자바스크립트 사용 오류 정보
head파일에서 자바스크립트 사용 오류본문
head파일에 자바스크립트를 썼더니 아래와같은 오류가 납니다.
메시지: 'this.heads.length'은(는) null 이거나 개체가 아닙니다.
줄: 166
문자: 14
코드: 0
URI: SITENAME/js/sideview.js
head파일에 들어간 스크립트 내용은
<script language="Javascript" type="text/javascript">
function showLayer(layerID) {
document.all[layerID].style.visibility = "visible";
}
function hideLayer(layerID) {
document.all[layerID].style.visibility = "hidden";
}
</script>
이거구요 이미지 마우스오버시 레이어보여주는건데 오류가 나네요
뭘 수정해야 될까요ㅠ 자바스크립트는 너무 어렵네요ㅠ
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_id = '232551' and wr_id != '2008' ) union ( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '232526' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php