home *** CD-ROM | disk | FTP | other *** search
- var theMenu = new Array();
- theMenu[0] = new Array("theMenu1");
- theMenu[1] = new Array("theMenu2");
-
- var theMenu1 = new Array();
- theMenu1[0] = new Array("M","Sub Menu 1","Sub Menu 1","theMenu11");
- theMenu1[1] = new Array("M","Sub Menu 2","Sub Menu 2","theMenu12");
- theMenu1[2] = new Array("S","","","");
- theMenu1[3] = new Array("L","Link Item A","Link Item A","http://yx.webprovider.com");
- theMenu1[4] = new Array("S","","","");
- theMenu1[5] = new Array("I","Info Box I","This is a info box to show some messages.","100");
- theMenu1[6] = new Array("I","Info Box II","This is another info box to show some messages.","120");
-
- var theMenu11 = new Array();
- theMenu11[0] = new Array("C","alert","alert some message","alert('This is a message.')");
- theMenu11[1] = new Array("C","window","open a new window","window.open()");
-
- var theMenu12 = new Array();
- theMenu12[0] = new Array("C","alert","alert some message","alert('This is another message.')");
- theMenu12[1] = new Array("C","window","open a new window","window.open()");
-
- var theMenu2 = new Array();
- theMenu2[0] = new Array("M","sUB mENU 1","sUB mENU 1","theMenu21");
- theMenu2[1] = new Array("M","Sub Menu 2","sUB mENU 2","theMenu22");
- theMenu2[2] = new Array("S","","","");
- theMenu2[3] = new Array("L","lINK iTEM a","lINK iTEM a","http://yx.webprovider.com");
- theMenu2[4] = new Array("S","","","");
- theMenu2[5] = new Array("I","iNFO bOX i","tHIS IS A INFO BOX TO SHOW SOME MESSAGES.","100");
-
- var theMenu21 = new Array();
- theMenu21[0] = new Array("C","ALERT","ALERT SOME MESSAGE","alert('This is a message.')");
- theMenu21[1] = new Array("C","WINDOW","OPEN A NEW WINDOW","window.open()");
-
- var theMenu22 = new Array();
- theMenu22[0] = new Array("C","ALERT","ALERT SOME MESSAGE","alert('This is another message.')");
- theMenu22[1] = new Array("C","WINDOW","Open A New Window","window.open()");
-