http://muhwa.com
http://muhwa.com/!/soki/soki.php?js.obx.obxTabPage
http://www.muhwa.com/!/sample/obxtabpage/
링크 1은 소스고 링크 2는 예제및 사용법입니다.
스크립트는 많이 만드는 편인데
그중 괜찬아 보여서 올립니다.
이게 모다 모다 하는것보다 예제 한번보시면..
그럼 즐건 성탄절~ 준비하세요 (저는 오늘부터 안 자기로 했습니다. OTL)
");
this.contentCell.appendChild(this.item[this.DrawingID].content);
if(!this.LastShownItemID) this.show(this.DrawingID,1);
else if(this.defaultView==this.DrawingID) this.show(this.defaultView,1);
}
this.show = function (id,runtime){
if (this.LastShownItemID) this.hide(this.LastShownItemID);
this.LastShownItemID = id;
this.item[id].className='TP_'+this.cssHead+'_SCELL';
this.item[id].content.style.display='';
if(this.item[id].action) {
try{eval(this.item[id].action);}catch(e){}}
}
this.hide = function (id){
this.item[id].className='TP_'+this.cssHead+'_CELL';;
this.item[id].content.style.display="none";
}
}

댓글 0개