📄 jobarea_layer.js
字号:
function sltJobarea(show,value)
{
form.jobarea.value = value;
form.btnSltArea.value = show;
cancel();hiddenLayer("popupArea");
}
function initJobArea()
{
var bigjobarea_ids = getBigJobAreaIDs();
var bigjobarea_names = getBigJobAreaNames();
var bigjobarea_map_ids = new Array();
var bigjobarea_map_names = new Array();
var htmlDiv = '';
htmlDiv +='<table width="500" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="font-size:12px">';
htmlDiv +='<tr>';
htmlDiv +='<td width="797" height="36" valign="top" background="' + IMGPATH + '/cn/title_bg.gif" top="top" left="left" repeat-x;="repeat-x;"">';
htmlDiv +='<table width="100%" height="28" border="0" cellpadding="0" cellspacing="0">';
htmlDiv +='<tr>';
htmlDiv +='<td width="4%" align="center" valign="middle" bgcolor="FF901A"><img src="' + IMGPATH + '/cn/01.gif" width="17" height="17" /></td>';
htmlDiv +='<td width="86%" align="left" valign="middle" style="color:#FFf;font-size: 12px; " bgcolor="FF901A">请选择客户地区</td>';
htmlDiv +='<td width="10%" align="center" valign="middle" style="color:#FFf;" bgcolor="FF901A"><a onClick="javascript:cancel();hiddenLayer(\'popupArea\')" style="color:#FFFFFF;cursor:pointer;font-size: 12px; ">[关闭]</a> </td>';
htmlDiv +='</tr>';
htmlDiv +='</table>';
htmlDiv +='</td>';
htmlDiv +='</tr>';
htmlDiv +='<tr>';
htmlDiv +='<td align="center" valign="top"><table width="100%" border="0" align="center" cellpadding="3" cellspacing="0">';
htmlDiv +='<tr>';
htmlDiv +='</tr>';
htmlDiv +='<tr>';
htmlDiv +='<td colspan="2" align="left" valign="middle" bgcolor="#F7F7F7" style="color:#ff7400; font-size: 12px; font-weight: bold;">主要城市:</td>';
htmlDiv +='</tr>';
htmlDiv +='<tr>';
htmlDiv +='<td width="80" align="left" valign="middle" style="color:#000000;font-weight: bold;font-size=12px;">华北-东北:</td>';
htmlDiv +='<td align="left" valign="middle" style="font-size=12px;">';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'北京\',\'0100\');">北京</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'天津\',\'0500\');">天津</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'大连\',\'2303\');">大连</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'沈阳\',\'2302\');">沈阳</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'长春\',\'2402\');">长春</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'哈尔滨\',\'2202\');">哈尔滨</span></td>';
htmlDiv +='</tr>';
htmlDiv +='<tr>';
htmlDiv +='<td align="left" valign="middle" style="color:#000000;font-weight: bold;font-size: 12px; ">华东地区:</td>';
htmlDiv +='<td align="left" valign="middle" style="font-size=12px;">';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'上海\',\'0200\');">上海</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'南京\',\'0702\');">南京</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'苏州\',\'0703\');">苏州</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'杭州\',\'0802\');">杭州</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'宁波\',\'0803\');">宁波</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'合肥\',\'1502\');">合肥</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'福州\',\'1102\');">福州</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'济南\',\'1202\');">济南</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'青岛\',\'1203\');">青岛</span></td>';
htmlDiv +='</tr>';
htmlDiv +='<tr>';
htmlDiv +='<td align="left" valign="middle" style="color:#000000;font-weight: bold;">华南-华中:</td>';
htmlDiv +='<td align="left" valign="middle">';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'广州\',\'0302\');">广州</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'深圳\',\'0400\');">深圳</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'东莞\',\'0308\');">东莞</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'武汉\',\'1802\');">武汉</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'长沙\',\'1902\');">长沙</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'郑州\',\'1702\');">郑州</span></td>';
htmlDiv +='</tr>';
htmlDiv +='<tr>';
htmlDiv +='<td align="left" valign="middle" style="color:#000000;font-weight: bold;">西北-西南:</td>';
htmlDiv +='<td align="left" valign="middle">';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'西安\',\'2002\');">西安</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'成都\',\'0902\');">成都</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'重庆\',\'0600\');">重庆</span> ';
htmlDiv +='<span style="cursor:pointer" onMouseOver="this.style.color=\'#ff7300\'" onMouseOut="this.style.color=\'\'" onClick="sltJobarea(\'昆明\',\'2502\');">昆明</span></td>';
htmlDiv +='</tr>';
htmlDiv +='<tr>';
htmlDiv +='<td height="5" colspan="2" align="left" valign="middle" background="' + IMGPATH + '/cn/bgclear_bot.gif"></td>';
htmlDiv +='</tr>';
htmlDiv +='</table>';
htmlDiv +='<div id="subareadiv">';
htmlDiv +=getAllArea();
htmlDiv +='</div>';
htmlDiv +='</td>';
htmlDiv +='</tr>';
htmlDiv +='<tr>';
htmlDiv +='<td height="4" align="center" valign="top" bgcolor="#FF7400"></td>';
htmlDiv +='</tr>';
htmlDiv +='</table>';
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -