묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
소스 좀 봐주세요..탭메뉴 3개인데...
2005.11.28 21:42
이거 가능한 스크립트인지 봐주세요
function LayerMenu(objShow, tabmenu1, tabmenu2, tabmenu3) {
if (objShow==1) {
document.all[tabmenu1].style.display="block";
document.all[tabmenu2].style.display = "none";
document.all[tabmenu3].style.display = "none";
}
elseif(objShow==2) {
document.all[tabmenu2].style.display="block";
document.all[tabmenu1].style.display = "none";
document.all[tabmenu3].style.display = "none";
}
else {
document.all[tabmenu3].style.display="block";
document.all[tabmenu1].style.display = "none";
document.all[tabmenu2].style.display = "none";
}
}
function LayerMenu(objShow, tabmenu1, tabmenu2, tabmenu3) {
if (objShow==1) {
document.all[tabmenu1].style.display="block";
document.all[tabmenu2].style.display = "none";
document.all[tabmenu3].style.display = "none";
}
elseif(objShow==2) {
document.all[tabmenu2].style.display="block";
document.all[tabmenu1].style.display = "none";
document.all[tabmenu3].style.display = "none";
}
else {
document.all[tabmenu3].style.display="block";
document.all[tabmenu1].style.display = "none";
document.all[tabmenu2].style.display = "none";
}
}