TopNavBar.js
上传用户:voiper
上传日期:2022-05-13
资源大小:260k
文件大小:5k
源码类别:

TreeView控件

开发平台:

C#

  1. function menu_NavbarConfig() {
  2. this.version = "3.21"
  3. this.MenuName = "Nav Bar";
  4. this.BaseHref="";
  5. this.MainHoverClass="NavBarMainHover";
  6. this.MainClass="NavBarMain";
  7. this.SubHoverClass="NavBarSubHover";
  8. this.SubClass="NavBarSub";
  9. this.ContainerClass="NavBarCont";
  10. this.MenuCentered="left";
  11. this.MenuVerticalCentered="top";
  12. this.PartOfWindow=0.7;
  13. this.BorderWidthMain=2;
  14. this.BorderWidthSub=2;
  15. this.BorderBtwnMain=3;
  16. this.BorderBtwnSub=1;
  17. this.StartTop=0;
  18. this.StartLeft=0;
  19. this.VerCorrect=1;
  20. this.HorCorrect=0;
  21. this.LeftPaddng=5;
  22. this.RightPadding=5;
  23. this.TopPaddng=2;
  24. this.FirstLineHorizontal=1;
  25. this.TargetLoc="MenuPos";
  26. this.BgImgLeftOffset=5;
  27. this.ScaleMenu=0;
  28. this.DistFrmFrameBrdr=0;
  29. this.DissapearDelay=300;
  30. this.UnfoldDelay=200;
  31. this.ChildOverlap=0;
  32. this.ChildVerticalOverlap=0;
  33. this.BuildOnDemand=0;
  34. this.OverFormElements=1;
  35. this.BottomUp=0;
  36. this.MenuWrap=1;
  37. this.RightToLeft=0;
  38. this.UnfoldsOnClick=0;
  39. this.RememberStatus=0;
  40. this.TakeOverBgColor=1;
  41. this.FirstLineFrame="";
  42. this.SecLineFrame="";
  43. this.DocTargetFrame="";
  44. this.MenuFramesVertical=1;
  45. this.MenuUsesFrames=0;
  46. this.MenuSlide="";
  47. this.MenuOpacity=""; //"progid:DXImageTransform.Microsoft.Alpha(opacity=85)";
  48. //this.DropMenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#999999, direction=135, strength=3)";
  49. //this.MainMenuFilter="progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction=135, strength=1)";
  50. this.BeforeStart = function(){return;};
  51. this.AfterBuild = function(){return;};
  52. this.BeforeFirstOpen = function(){return;};
  53. this.AfterCloseAll = function(){return;};
  54. this.Arrws=[this.BaseHref+"",,,this.BaseHref+"",,,this.BaseHref+"",,,this.BaseHref+"",,];
  55. this.NoOffFirstLineMenus=4; //5
  56. this.Menu1=new Array("Help!","/info/faq.aspx","",5,18,45,"","","");
  57. this.Menu1_1=new Array("What is 'The Code Project'?","/info/Guide.aspx","",0,18,190,"","","");
  58. this.Menu1_2=new Array("General FAQ","/info/faq.aspx","",0,18,190,"","","");
  59. this.Menu1_3=new Array("Post a Question","/script/Forums/List.aspx","",0,18,190,"","","");
  60. this.Menu1_4=new Array("Site Directory","/script/Content/SiteMap.aspx","",0,18,190,"","","");
  61. this.Menu1_5=new Array("About Us","/info/about.aspx","",0,18,190,"","","");
  62. this.Menu2=new Array("Articles","/info/latest.aspx","",7,18,60,"","","");
  63. this.Menu2_1=new Array("Latest","/script/articles/latest.aspx","",0,18,150,"","","");
  64. this.Menu2_2=new Array("Most Popular","/script/articles/TopArticles.aspx","",0,18,150,"","","");
  65. this.Menu2_3=new Array("Search","/info/search.aspx","",0,18,150,"","","");
  66. this.Menu2_4=new Array("Topic List","/script/Content/SiteMap.aspx","",0,18,190,"","","");
  67. this.Menu2_5=new Array("Submit an Article","/info/submit.aspx","",0,18,150,"","","");
  68. this.Menu2_6=new Array("Update an Article","/info/submit.aspx#Update","",0,18,150,"","","");
  69. this.Menu2_7=new Array("Article Competition","/script/awards/ListItemAwards.aspx","",0,18,150,"","","");
  70. this.Menu3=new Array("Message Boards","/script/Forums/List.aspx","",19,18,120,"","","");
  71. this.Menu3_1=new Array("Visual C++ / MFC","/script/Forums/View.aspx?fid=1647","",0,18,175,"","","");
  72. this.Menu3_2=new Array("ATL / WTL / STL","/script/Forums/View.aspx?fid=4486","",0,18,175,"","","");
  73. this.Menu3_3=new Array("COM","/script/Forums/View.aspx?fid=1648","",0,18,175,"","","");
  74. this.Menu3_4=new Array("Managed C++/CLI","/script/Forums/View.aspx?fid=3785","",0,18,175,"","","");
  75. this.Menu3_5=new Array("C#","/script/Forums/View.aspx?fid=1649","",0,18,175,"","","");
  76. this.Menu3_6=new Array("ASP.NET","/script/Forums/View.aspx?fid=12076","",0,18,175,"","","");
  77. this.Menu3_7=new Array("VB.NET","/script/Forums/View.aspx?fid=1646","",0,18,175,"","","");
  78. this.Menu3_8=new Array("Web Development","/script/Forums/View.aspx?fid=1640","",0,18,175,"","","");
  79. this.Menu3_9=new Array(".NET Framework","/script/Forums/View.aspx?fid=1650","",0,18,175,"","","");
  80. this.Menu3_10=new Array("SQL / ADO / ADO.NET","/script/Forums/View.aspx?fid=1725","",0,18,175,"","","");
  81. this.Menu3_11=new Array("XML / XSL","/script/Forums/View.aspx?fid=3421","",0,18,175,"","","");
  82. this.Menu3_12=new Array("OS / SysAdmin","/script/Forums/View.aspx?fid=1644","",0,18,175,"","","");
  83. this.Menu3_13=new Array("Work Issues","/script/Forums/View.aspx?fid=3304","",0,18,175,"","","");
  84. this.Menu3_14=new Array("Article Requests","/script/Forums/View.aspx?fid=1641","",0,18,175,"","","");
  85. this.Menu3_15=new Array("Collaboration","/script/Forums/View.aspx?fid=1651","",0,18,175,"","","");
  86. this.Menu3_16=new Array("General Discussions","/script/Forums/View.aspx?fid=1642","",0,18,175,"","","");
  87. this.Menu3_17=new Array("Hardware","/script/Forums/View.aspx?fid=186301","",0,18,175,"","","");
  88. this.Menu3_18=new Array("Suggestions / Site Bugs","/script/Forums/View.aspx?fid=1645","",0,18,175,"","","");
  89. this.Menu3_19=new Array("The Soapbox","/script/Forums/View.aspx?fid=2605","",0,18,175,"","","");
  90. //this.Menu4=new Array("Job Board","/script/Jobs/","",0,18,80,"","","");
  91. this.Menu4=new Array("Lounge","/Lounge.aspx","",0,18,60,"","","");
  92. }