📄 city1_menu_array.js
字号:
/*
DHTML Menu version 3.3.19
Written by Andy Woolley
Copyright 2002 (c) Milonic Solutions. All Rights Reserved.
Plase vist http://www.milonic.co.uk/menu or e-mail menu3@milonic.com
You may use this menu on your web site free of charge as long as you place prominent links to http://www.milonic.co.uk/menu and
your inform us of your intentions with your URL AND ALL copyright notices remain in place in all files including your home page
Comercial support contracts are available on request if you cannot comply with the above rules.
This script featured on Dynamic Drive (http://www.dynamicdrive.com)
*/
//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.
////////////////////////////////////
// Editable properties START here //
////////////////////////////////////
// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}
timegap=500 // The time delay for menus to remain visible
followspeed=5 // Follow Scrolling speed
followrate=40 // Follow Scrolling Rate
suboffset_top=10; // Sub menu offset Top position
suboffset_left=10; // Sub menu offset Left position
style1=[ // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"navy", // Mouse Off Font Color
//"D1EAFD", // Mouse Off Background Color
"D1EAFD", // Mouse Off Background Color
"ffebdc", // Mouse On Font Color
"6699cc", // Mouse On Background Color
"000000", // Menu Border Color
12, // Font Size in pixels
"normal", // Font Style (italic or normal)
"bold", // Font Weight (bold or normal)
"Verdana, Arial", // Font Name
4, // Menu Item Padding
"../images/arrow.gif", // Sub Menu Image (Leave this blank if not needed)
, // 3D Border & Separator bar
"66ffff", // 3D High Color
"000099", // 3D Low Color
"Purple", // Current Page Item Font Color (leave this blank to disable)
"pink", // Current Page Item Background Color (leave this blank to disable)
"../images/arrowdn.gif", // Top Bar image (Leave this blank to disable)
"ffffff", // Menu Header Font Color (Leave blank if headers are not needed)
"000099", // Menu Header Background Color (Leave blank if headers are not needed)
]
addmenu(menu=[ // This is the array that contains your menu properties and details
"mainmenu", // Menu Name - This is needed in order for the menu to be called
3, // Menu Top - The Top position of the menu in pixels
3, // Menu Left - The Left position of the menu in pixels
, // Menu Width - Menus width in pixels
1, // Menu Border Width
, // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1, // Properties Array - this is set higher up, as above
1, // Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left", // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect, // Filter - Text variable for setting transitional effects on menu activation - see above for more info
, // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, // Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
, // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
, // Position of TOP sub image left:center:right
, // Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
, // Right To Left - Used in Hebrew for example. (1=on/0=off)
, // Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
, // ID of the div you want to hide on MouseOver (useful for hiding form elements)
, // Reserved for future use
, // Reserved for future use
, // Reserved for future use
//,"首页","http://www.dynamicdrive.com",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"综合分析 ","show-menu=menu1",,"",1
,"全国邮政对比分析 ","show-menu=menu2",,"",1
,"寄达地分析 ","show-menu=menu5",,"",1
,"时段分析","view_city.jsp?viewname=time&viewgroup=City&ViewDesc=上海邮政业务--时段分析",,"时段分析",1
,"重量分析","view_city.jsp?viewname=weight&viewgroup=City&ViewDesc=上海邮政业务--重量分析",,"重量分析",1
,"平均单价分析","view.jsp?viewname=price&viewgroup=City&ViewDesc=上海邮政业务--平均单价分析",,"平均单价分析",1
,"客户分析 ","show-menu=menu3",,"",1
,"决策分析 ","show-menu=menu4",,"",1
,"返回","../main.jsp",,"返回",1
])
addmenu(menu=["menu1",
,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
,"<img src=../images/person.gif border=0> 业务综合分析","view_city.jsp?viewname=full&viewgroup=City&ViewDesc=上海邮政业务--综合分析 ",,"业务综合分析",1
,"<img src=../images/person.gif border=0> 专业分析","view_city.jsp?viewname=product&viewgroup=City&ViewDesc=上海邮政业务--综合分析--专业角度",,"专业角度",1
,"<img src=../images/person.gif border=0> 区县局经营分析","view_city.jsp?viewname=outlet&viewgroup=City&ViewDesc=上海邮政业务--综合分析--区县局经营分析",,"区县局经营分析",1
])
addmenu(menu=["menu2",
,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
,"<img src=../images/person.gif border=0> 收入比率","view_nation.jsp?viewname=province_ratio&viewgroup=Nation&ViewDesc=全国邮政对比分析--省市收入比率分析 ",,"收入比率",1
,"<img src=../images/person.gif border=0> 贡献率","view_nation.jsp?viewname=province_offer&viewgroup=Nation&ViewDesc=全国邮政对比分析--贡献率分析 ",,"贡献率",1
,"<img src=../images/person.gif border=0> 六省市比较","view_nation.jsp?viewname=sixprovince&viewgroup=Nation&ViewDesc=全国邮政对比分析--六省市比较 ",,"六省市比较",1
,"<img src=../images/person.gif border=0> 直辖市比较","view_nation.jsp?viewname=direct&viewgroup=Nation&ViewDesc=全国邮政对比分析--直辖市比较 ",,"直辖市比较",1
])
addmenu(menu=["menu3",
,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
,"<img src=../images/person.gif border=0> 比重分析","view_city.jsp?viewname=customer_percent&viewgroup=City&ViewDesc=上海邮政业务--客户分析--比重分析 ",,"比重分析",1
,"<img src=../images/person.gif border=0> 客户排名","view_city.jsp?viewname=customer_rank&viewgroup=City&ViewDesc=上海邮政业务--客户分析--客户排名 ",,"客户排名",1
])
addmenu(menu=["menu4",
,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
,"<img src=../images/person.gif border=0> 历史分析","view_city.jsp?viewname=history&viewgroup=City&ViewDesc=上海邮政业务--历史分析",,"历史分析",1
,"<img src=../images/person.gif border=0> 指标跟踪","view.jsp?viewname=plan_city&viewgroup=Plan&alerttype=1&ViewDesc=上海邮政业务--指标跟踪",,"指标跟踪",1
,"<img src=../images/person.gif border=0> 业务趋势分析","view.jsp?viewname=trend_city&viewgroup=Plan&alerttype=1&ViewDesc=上海邮政业务--业务趋势分析",,"业务趋势分析",1
,"<img src=../images/person.gif border=0> 业务预测","view.jsp?viewname=forecast_city&viewgroup=Plan&alerttype=1&ViewDesc=上海邮政业务--业务预测",,"业务预测",1
,"<img src=../images/person.gif border=0> 定期告警","view.jsp?viewname=alert_city&viewgroup=Plan&alerttype=1&ViewDesc=上海邮政业务--定期告警",,"定期告警",1
])
addmenu(menu=["menu5",
,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
,"<img src=../images/person.gif border=0> 寄达地综合分析","view_city.jsp?viewname=destination&viewgroup=City&ViewDesc=上海邮政业务--寄达地综合分析 ",,"寄达地综合分析",1
,"<img src=../images/person.gif border=0> 长三角地区寄达地分析","view_city.jsp?viewname=destination_delta&viewgroup=City&ViewDesc=长三角地区寄达地分析 ",,"长三角地区寄达地分析",1
,"<img src=../images/person.gif border=0> 亚太地区寄达地分析","view_city.jsp?viewname=destination_asiapaci&viewgroup=City&ViewDesc=亚太地区寄达地分析 ",,"亚太地区寄达地分析",1
,"<img src=../images/person.gif border=0> 卡哈拉项目分析","view_city.jsp?viewname=destination_cahkaj&viewgroup=City&ViewDesc=卡哈拉项目分析 ",,"卡哈拉项目分析",1
])
dumpmenus()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -