자바 고수님들 한번 봐주세요 .. > 그누4 질문답변

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

자바 고수님들 한번 봐주세요 .. 정보

자바 고수님들 한번 봐주세요 ..

본문

오류 주소 : 오류 사이트 이동 !!

현재 메인 화면 이미지가 바뀌는데요

큰이미지가 바뀔때 아래에 작은 이미지도 같이 바뀌고 하나는 흑백?이미지로 변하는건데여

클릭했을때에는 이미지가 서로 잘 맞게 돌아갑니다.

가만히 냅두어도 정해진 시간에 맞춰서 이미지가 돌아가는데요

큰 이미지만 돌아가고 아래 이미지는 돌지 않습니다..

스크립트 오류가 나는데요



function top2menuHideAll() //2차메뉴모두감추기
{
top1menuEl = document.getElementById("top1menu"). childNodes;
for (i=1;i<=top1menuEl.length;i++)
{
top1Menu = document.getElementById("top1m"+i);
top2Menu = document.getElementById("top2m"+i);
if(i<10){inn='0'+i;} else {inn=''+i;}
if (top1Menu) {
top1Menu.getElementsByTagName("img")[0].src="/img/btn/top1m" + inn + ".gif";
// top1Menu.style.textDecoration="none"; //텍스트일때
// top1Menu.style.fontWeight="normal"; //텍스트일때
// top1Menu.style.letterSpacing="0"; //텍스트일때
if (top2Menu) { top2Menu.style.display = 'none'; }
}
}
}
function initTopMenu() {
top1menuEl = document.getElementById("top1menu"). childNodes;
// alert(top1menuEl.length);
for (i=1;i<=top1menuEl.length;i++)
{
top1Menu = document.getElementById("top1m"+i);
top2Menu = document.getElementById("top2m"+i);
if (top1Menu) {
top1Menu.onmouseover = top1Menu.onfocus = top2menuView;
top1Menu.onmouseout = top2menuHide;
if (top2Menu) {
top2Menu.onmouseover = top2Menu.onfocus = top2menuView;
top2Menu.onmouseout = top2menuHide;
}
}
}
//2차메뉴가 텍스트일때만 사용
//top2MenuCurrAct = document.getElementById("top2m"+sMenuTopMain+"m"+sMenuTopSub);
//if (top2MenuCurrAct) { top2MenuCurrAct.getElementsByTagName("a")[0].style.color="#ffffff"; }
//if (top2MenuCurrAct) { top2MenuCurrAct.getElementsByTagName("a")[0].style.fontWeight="bold"; }
//if (top2MenuCurrAct) { top2MenuCurrAct.getElementsByTagName("a")[0].style.backgroundColor ="#999999"; }
}


이 소스에서 저 부분이 에러가 납니다.

아시는분 계신가요..?

아니면 비슷한 형식의 소스를 아시는분 .. 알려주세요 흑흑

댓글 전체

전체 66,558 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT