function checkTab(num) { if (num == 1) { //alert(num); c1.style.display = ""; c2.style.display = "none"; c3.style.display = "none"; tab1.className = "current"; tab2.className = ""; tab3.className = ""; } if (num == 2) { // alert(num); c1.style.display = "none"; c2.style.display = ""; c3.style.display = "none"; tab1.className = ""; tab2.className = "current"; tab3.className = ""; } if (num == 3) { // alert(num); c1.style.display = "none"; c2.style.display = "none"; c3.style.display = ""; tab1.className = ""; tab2.className = ""; tab3.className = "current"; } }
$(function () { $(document).WIT_SetTab({ Nav: $('#J_bigPicBar>li'), Field: $('#J_bigPic>li'), Auto: true, CurCls: 'current', CrossTime: 120, OutTime: 150, InTime: 150, AutoTime: 5000 }); });