/********************************************** 硫붾돱 **********************************************/ function Node(id, pid, Idx, Name, Folder, Files, img, PopCode){ this.id = id; this.pid = pid; this.Idx = Idx; this.Name = Name; this.Folder = Folder; this.Files = Files.split(","); this.img = img; this.PopCode = PopCode; this.SelectYN = 0; this.ChildCnt = 0; this.Depth = 0; } function CMenu(oName, RootIdx){ this.Name = oName; this.aNodes = []; this.iMenuNum = 0; this.RootIdx = RootIdx; this.Uri = (location.href.indexOf("?") > 0) ? "/" + location.href.substring(0, location.href.indexOf("?")).split("/").splice(3,10).join("/") : "/" + location.href.split("/").splice(3,10).join("/"); this.Folder = this.Uri.substring(0, this.Uri.lastIndexOf("/")+1); this.File = this.Uri.substring(this.Uri.lastIndexOf("/")+1, this.Uri.length); this.Add = function(id, pid, Idx, Name, Folder, Files, img, PopCode){ this.aNodes[this.aNodes.length] = new Node(id, pid, Idx, Name, Folder, Files, img, PopCode); for(var i=0; i 1){ for(var i=0; i"; } } s += "
PC踰꾩쟾
"; return s; } this.TopMenus = function(){ var s = ""; var idx = -1; var css = ""; var Hwidth = ""; for(var i=1,item; item=this.aNodes[i]; i++){ if(this.RootIdx.toString() == item.pid.toString() && item.Folder.toUpperCase() == this.Folder.substr(0, item.Folder.length).toUpperCase()){ s += "
"; s += " "; s += " "; s += " "; s += " "; s += " "; s += " "; s += "
 " + item.Name + " 
"; s += "
"; idx = i; switch(parseInt(item.Idx, 10)){ // case 1: // case 2: case 5: s += ""; s += " "; Hwidth = "width:" + (100 / item.ChildCnt).toString() + "%;font-size:1.1em;"; for(var j=1,itemsub; itemsub=this.aNodes[j]; j++){ if(item.id.toString() == itemsub.pid.toString()){ css = "color:#6E6D6D;background:#ffffff;border:1px solid #e2e2e2;text-align:center;"; if(itemsub.Folder.toUpperCase() == this.Folder.substr(0, itemsub.Folder.length).toUpperCase()) css = "color:#FFFFFF;font-weight:bold;background:#454545;border:1px solid #e2e2e2;text-align:center"; s += ""; } } s += " "; s += "
"; s += itemsub.Name; s += "
"; break; } break; } } return s; } } var oMenu = null; oMenu = new CMenu("oMenu", 0); oMenu.Add(0, null, 0, "Root" , "/AifaCta/MobileContents/" , "Index.asp"); //oMenu.Add(1, 0, 1, "�� 媛뺤쓽��" , "/AifaCta/MobileContents/MyClass/" , "Index.asp", "", 0); //oMenu.Add(2, 1, 1, "�꾩옱 �섍컯以묒씤 媛뺤쓽" , "/AifaCta/MobileContents/MyClass/NowStudy/" , "Index.asp", "", 0); //oMenu.Add(3, 1, 2, "蹂듭뒿�� 媛뺤쓽" , "/AifaCta/MobileContents/MyClass/Review/" , "Index.asp", "", 0); //oMenu.Add(4, 1, 3, "留뚮즺�� 媛뺤쓽" , "/AifaCta/MobileContents/MyClass/EndStudy/" , "Index.asp", "", 0); oMenu.Add(5, 0, 2, "�섍컯�좎껌�댁뿭" , "/AifaCta/MobileContents/Payment/OrderList/" , "Index.asp", "", 0); //oMenu.Add(6, 5, 1, "�λ컮援щ땲" , "/AifaCta/MobileContents/Payment/Basket/" , "Index.asp", "", 0); //oMenu.Add(7, 5, 2, "二쇰Ц/諛곗넚議고쉶" , "/AifaCta/MobileContents/Payment/OrderList/" , "Index.asp", "", 0); //oMenu.Add(8, 5, 3, "�대쭣��濡쒓껐��" , "/AifaCta/MobileContents/Payment/IWill/" , "Index.asp", "", 0); oMenu.Add(9, 0, 3, "怨듭��ы빆" , "/AifaCta/MobileContents/Notice/" , "Index.asp", "", 0); oMenu.Add(10, 9, 1, "怨듭��ы빆" , "/AifaCta/MobileContents/Notice/Notice/" , "Index.asp", "", 0); oMenu.Add(11, 9, 2, "�좉퇋媛뺤쓽" , "/AifaCta/MobileContents/Notice/OpenLecture/" , "Index.asp", "", 0); oMenu.Add(12, 9, 3, "�좉컙�덈궡" , "/AifaCta/MobileContents/Notice/NewBooks/" , "Index.asp", "", 0); // oMenu.Add(13, 0, 4, "媛뺤궗�뚭컻" , "/AifaCta/MobileContents/TeacherInfo/" , "Index.asp", "", 0); oMenu.Add(14, 0, 5, "�꾩껜媛뺤쓽" , "/AifaCta/MobileContents/GLecture/" , "Index.asp", "", 0); oMenu.Add(15, 14, 1, "�섑뿕�곸뿭" , "/AifaCta/MobileContents/GLecture/ExamArea/" , "Index.asp", "", 0); oMenu.Add(16, 14, 2, "臾대즺�밴컯" , "/AifaCta/MobileContents/GLecture/FreeLecture/" , "Index.asp", "", 0); oMenu.Add(25, 0, 6, "�⑤씪�몄꽱��" , "http://m.e-aifa.co.kr/MobileContents/" , "Index.asp", "", 0); oMenu.Add(17, 0, 7, "�⑤씪�몄꽌��" , "http://m.e-aifa.co.kr/MobileContents/BooksMall/" , "Index.asp", "", 0); //oMenu.Add(18, 0, 8, "�섍컯 FAQ" , "/AifaCta/MobileContents/FAQ/" , "Index.asp", "", 0); // oMenu.Add(19, 18, 1, "�ㅼ튂 諛� 二쇱슂湲곕뒫" , "/AifaCta/MobileContents/FAQ/MobileInstall/" , "Index.asp", "", 0); // oMenu.Add(20, 18, 2, "�쒕퉬�ㅼ븞��" , "/AifaCta/MobileContents/FAQ/MobileService/" , "Index.asp", "", 0); // oMenu.Add(21, 18, 3, "紐⑤컮�� FAQ" , "/AifaCta/MobileContents/FAQ/MobileFAQ/" , "Index.asp", "", 0); oMenu.Add(22, 0, 9, "�쒖븘�댄뙆�멸�" , "/AifaCta/MobileContents/WhyAifa/" , "Index.asp", "", 0); oMenu.Add(26, 0, 10, "�섑뿕�댁뒪" , "/AifaCta/MobileContents/TestNews/" , "Index.asp", "", 0); oMenu.Add(27, 0, 11, "�몃Т�� �⑷꺽�섍린" , "/AifaCta/MobileContents/PassMemory/" , "Index.asp", "", 0); oMenu.Add(28, 0, 12, "�섍컯諛⑸쾿" , "/AifaCta/MobileContents/StudyGuide/" , "Index.asp", "", 0); oMenu.Add(23, 0, 13, "�ㅼ떆�� 湲�" , "/AifaCta/MobileContents/AcademyMap/" , "Index.asp", "", 0); //oMenu.Add(24, 0, 14, "寃곗젣�섍린" , "/AifaCta/MobileContents/Payment2/" , "Index.asp", "", 0); /********************************************** 硫붾돱 **********************************************/ document.title = "AifaCta Mobile"; $(document).ready(function(){ //=================================================================================== //class媛� require�쇰㈃ �꾩닔�낅젰 ��ぉ�쇰줈 �꾨뱶紐� �욎뿉 鍮④컙�됱쑝濡� *瑜� �쒖떆�쒕떎. //=================================================================================== $("div.require, span.require").each(function() { $(this).html("*"); }); });