<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="AD_Map.aspx.cs" Inherits="MYAPP.Manage.Project.Design.Tour.Map.AD_Map" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title></title>
<link href="/CSS/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/date.js"></script>
<script type="text/javascript" src="/js/coe.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script src="/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
</script>
<link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
</head>
<body onLoad="top.selectbyvalue('custommap_<%=_ROW%>');">
<form id="theform" runat="server">
  <table width="100%" cellspacing="2" border="1" align="center" cellpadding="0" bordercolor="#CCCCCC"
            class="board_kong">
    <tr>
      <td><table cellspacing="1" cellpadding="0" width="100%" border="0">
          <tr>
            <td style="border-bottom: #CCCCCC 1px solid; height: 24px"><table class="title_table">
                <tr>
                  <td class="l_title"> [用户地图]</td>
                  <td width="100" align="center" class="l_title">&nbsp;</td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td><div id="TabbedPanels1" class="TabbedPanels">
                <ul class="TabbedPanelsTabGroup">
                  <li class="TabbedPanelsTab" tabindex="0">基本</li>
                  <li class="TabbedPanelsTab" tabindex="0">地图设置</li>
                  <li class="TabbedPanelsTab" tabindex="0">雷达设置</li>
                  <li class="TabbedPanelsTab" tabindex="0">标注点</li>
                  <li class="TabbedPanelsTab" tabindex="0">地图控制</li>
                  <li class="TabbedPanelsTab" tabindex="0">地图事件</li>
                  <li class="TabbedPanelsTab" tabindex="0" onclick="window.open('../List_Accessories_Info.aspx?curl=%FIRSTXML%/Map&dir=Map&Info_ID=<%=_Tour_ID%>','Accessories_Info','toolbar=no,resizable=yes,status=yes');">地图附件</li>
                </ul>
                <div class="TabbedPanelsContentGroup">
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title_request">id:</td>
                        <td align="left"><asp:TextBox ID="id" runat="server" Columns="10" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="id"
                                                            Display="Dynamic" ErrorMessage="id" SetFocusOnError="True">*</asp:RequiredFieldValidator>
                          <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="id"
                                                            ErrorMessage="ID Must GreaterThan 0" Operator="GreaterThan" Type="Integer" ValueToCompare="0"
                                                            Display="Dynamic" SetFocusOnError="True"></asp:CompareValidator>
                          地图ID</td>
                        <td align="left">&nbsp;</td>
                        <td align="left">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title_request"> name:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="name" runat="server" Columns="30" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="name"
                                                            Display="Dynamic" ErrorMessage="name" SetFocusOnError="True">*</asp:RequiredFieldValidator>
                          地图插件名称(插件调用控制的名称)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">title</td>
                        <td colspan="3" align="left"><asp:TextBox ID="title" runat="server" Columns="30" />
                        地图名称</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">mapurl:</td>
                        <td colspan="3" align="left"><asp:TextBox Columns="60" CssClass="width100" ID="url" runat="server" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">alturl:</td>
                        <td colspan="3" align="left"><asp:TextBox Columns="60" CssClass="width100" ID="alturl" runat="server" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">zorder:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="zorder" Columns="6" runat="server" Text='100' />                      
                          (排序)
                          alpha:
                          <asp:TextBox ID="alpha" Columns="6" runat="server" Text='1.0' />  
                          (透明度)
                          blendmode:
                          <asp:DropDownList ID="blendmode" runat="server">
                            <asp:ListItem value="NORMAL">NORMAL</asp:ListItem>
                            <asp:ListItem value="LAYER">LAYER</asp:ListItem>
                            <asp:ListItem value="MULTIPLY">MULTIPLY</asp:ListItem>
                            <asp:ListItem value="SCREEN">SCREEN</asp:ListItem>
                            <asp:ListItem value="LIGHTEN">LIGHTEN</asp:ListItem>
                            <asp:ListItem value="DARKEN">DARKEN</asp:ListItem>
                            <asp:ListItem value="DIFFERENCE">DIFFERENCE</asp:ListItem>
                            <asp:ListItem value="ADD">ADD</asp:ListItem>
                            <asp:ListItem value="SUBTRACT">SUBTRACT</asp:ListItem>
                            <asp:ListItem value="INVERT">INVERT</asp:ListItem>
                            <asp:ListItem value="ALPHA">ALPHA</asp:ListItem>
                            <asp:ListItem value="ERASE">ERASE</asp:ListItem>
                            <asp:ListItem value="OVERLAY">OVERLAY</asp:ListItem>
                            <asp:ListItem value="HARDLIGHT">HARDLIGHT</asp:ListItem>
                          </asp:DropDownList>
                          (混合模式) <a href="http://livedocs.adobe.com/flex/201/langref/flash/display/DisplayObject.html#blendMode" target="_blank">help</a></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">align:</td>
                        <td align="left" nowrap="nowrap"><asp:DropDownList ID="align" runat="server">
                          <asp:ListItem value="lefttop">lefttop</asp:ListItem>
                          <asp:ListItem value="left">left</asp:ListItem>
                          <asp:ListItem value="leftbottom">leftbottom</asp:ListItem>
                          <asp:ListItem value="top">top</asp:ListItem>
                          <asp:ListItem value="center">center</asp:ListItem>
                          <asp:ListItem value="bottom">bottom</asp:ListItem>
                          <asp:ListItem value="righttop">righttop</asp:ListItem>
                          <asp:ListItem value="right">right</asp:ListItem>
                          <asp:ListItem value="rightbottom">rightbottom</asp:ListItem>
                        </asp:DropDownList>
                          (相对位置)</td>
                        <td align="left" nowrap="nowrap" class="left_title">edge:</td>
                        <td align="left" nowrap="nowrap"><asp:DropDownList ID="edge" runat="server">
                          <asp:ListItem value="lefttop">lefttop</asp:ListItem>
                          <asp:ListItem value="left">left</asp:ListItem>
                          <asp:ListItem value="leftbottom">leftbottom</asp:ListItem>
                          <asp:ListItem value="top">top</asp:ListItem>
                          <asp:ListItem value="center">center</asp:ListItem>
                          <asp:ListItem value="bottom">bottom</asp:ListItem>
                          <asp:ListItem value="righttop">righttop</asp:ListItem>
                          <asp:ListItem value="right">right</asp:ListItem>
                          <asp:ListItem value="rightbottom">rightbottom</asp:ListItem>
                        </asp:DropDownList>
                          (基准点位置)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">position:</td>
                        <td align="left" nowrap="nowrap">x:
                          <asp:TextBox ID="x" runat="server" Columns="6" Text='0' />                        
                          y:
                          <asp:TextBox ID="y" runat="server" Columns="6" Text='0' />
                          (相对位置偏量)</td>
                        <td align="center" nowrap="nowrap">&nbsp;</td>
                        <td align="left" nowrap="nowrap">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">o-xy:</td>
                        <td align="left" nowrap="nowrap">ox:
                          <asp:TextBox ID="ox" runat="server" Columns="6" Text='0' />                        
                          oy:
                          <asp:TextBox ID="oy" runat="server" Columns="6" Text='0' />
                          (基准点位置偏量)<br />
                          - additional x/y offset<br />
                          - % values can be used and they are relative to the own size</td>
                        <td align="left" class="left_title">&nbsp;</td>
                        <td align="left">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">size:</td>
                        <td align="left">width:
                          <asp:TextBox ID="width" Columns="6" runat="server" />                        
                          (宽度)height:
                          <asp:TextBox ID="height" runat="server" Columns="6" />
                          (高度)</td>
                        <td align="left" class="left_title">refreshrate:</td>
                        <td align="left"><asp:TextBox ID="refreshrate" runat="server" />                      
                          (0-60,auto)(刷新帧数)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">scale:</td>
                        <td align="left"><asp:TextBox ID="scale" runat="server" Text='1' Columns="6" />                      
                          (缩放比例)
                          <asp:CheckBox ID="smoothing" Text='smoothing' runat="server" Checked="true" />  
                          (平滑)</td>
                        <td align="left" class="left_title">parent:</td>
                        <td align="left"><asp:DropDownList ID="parent" runat="server">
                          <asp:ListItem value=""></asp:ListItem>
                          <asp:ListItem value="STAGE">STAGE</asp:ListItem>
                          <asp:ListItem value="BGLAYER">BGLAYER</asp:ListItem>
                        </asp:DropDownList>                      
                          (父插件名称)
                          <asp:CheckBox ID="scalechildren" Text="scalechildren" runat="server" Checked="true" />  
                          (缩放子插件)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">mask:</td>
                        <td colspan="3" align="left"><asp:DropDownList ID="mask" runat="server">
                          <asp:ListItem value=""></asp:ListItem>
                        </asp:DropDownList>                      
                          ( plugin.name,plugin[pluginname])(蒙版插件名称)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">rotate:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="rotate" runat="server" Text='0' Columns="6" />                      
                          )rotation in degrees, default=&quot;0&quot;(旋转角度)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">Property:</td>
                        <td colspan="3" align="left"><asp:CheckBox ID="visible" runat="server" Text='visible' Checked="true" />                      
                          (显示)
                          <asp:CheckBox ID="preload" Text="preload" runat="server" />  
                          (预先加载)
                          <asp:CheckBox ID="enabled" runat="server" Text='enabled'  Visible="true" Checked="true"/>
                          (鼠标事件可用)
                          <asp:CheckBox ID="capture" Text='capture' runat="server" Visible="true"/>
                          (截获鼠标事件)
                          <asp:CheckBox ID="handcursor" Text="handcursor" runat="server"  Visible="true" Checked="true"/>
                          (鼠标小手)
                          <asp:CheckBox ID="keep" Text="keep" runat="server" Checked="true" />
                          (漫游一直存在)
                          <asp:CheckBox ID="children" Text="children" runat="server" Checked="true" />
                          (子插件获取鼠标事件)
                          <asp:CheckBox ID="dragmap" runat="server" Text='是否可拖动大地图' Checked="false" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">style:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="style" runat="server" Text='' Columns="6" />                      
                          style.name(样式名称)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">effect:<br />
                          效果</td>
                        <td colspan="3" align="left"><asp:TextBox CssClass="width100" ID="effect" Rows="4" runat="server" TextMode="MultiLine" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">&nbsp;</td>
                        <td colspan="3" align="left">bitmap effects, can be any combination of this effect functions:<br />
                          <ul>
                            <li>glow(color,alpha,range,strength); </li>
                            <li>dropshadow(depth,angle,color,range,strength); </li>
                            <li>blur(radius); </li>
                          </ul>
                          example:   glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,3,1);</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">备注信息:</td>
                        <td colspan="3" align="left"><asp:TextBox CssClass="width100" ID="Intro" Rows="4" runat="server" TextMode="MultiLine" />
                        <asp:CheckBox ID="defaulttf" runat="server" Text='DEFAULT' Visible="false"/></td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">xyoffset:</td>
                        <td colspan="2" align="left">x_offset:
                          <asp:TextBox ID="x_offset" Columns="6" runat="server" Text='0' />
                          y_offset:
                          <asp:TextBox ID="y_offset" Columns="6" runat="server" Text='0' />
                          标注点偏移量</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">pix_m:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="pix_m" runat="server" Columns="8" />
                          m/pix</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">heading:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="heading" Columns="10" MaxLength="10" runat="server" Text='0' />
                          right +，left - 地图方向纠正度数,右偏正数,左偏负数()</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">hint:</td>
                        <td colspan="2" align="left"><asp:TextBox CssClass="width100" ID="hint" runat="server" TextMode="MultiLine" Rows="4" />
                          '\n'</td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">size:</td>
                        <td colspan="2" align="left">width:
                          <asp:TextBox ID="radar_width" Columns="6" runat="server" Text='80' />
                          宽度
                          height:
                          <asp:TextBox ID="radar_height" runat="server" Columns="6" Text='80' />
                          高度 (雷达区域大小)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">color:</td>
                        <td colspan="2" align="left">radar_linecolor:
                          <asp:TextBox ID="radar_linecolor" Text="0x000000" Columns="8" runat="server" />
                          <img border="0" src="/images/pickcolor.gif" width="18" onclick="selColor(radar_linecolor,this)" />
                          雷达边框颜色 radar_fillcolor
                          <asp:TextBox ID="radar_fillcolor" runat="server" Columns="8" Text='0xFFFFFF' />
                          <img border="0" src="/images/pickcolor.gif" width="18" onclick="selColor(radar_fillcolor,this)" />雷达填充颜色</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">scale:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="radar_scale" runat="server" Text='1' Columns="6" />
                          雷达缩放比例
                            <asp:CheckBox ID="radar_smoothing" Text='smoothing' runat="server" Checked="true" />
                            是否平滑</td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">初始化:</td>
                        <td colspan="2" align="left"><asp:TextBox Columns="50" CssClass="width100" ID="icon_init" runat="server" Text='%SWFPATH%Skin/images/spot/icon_init.png' /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">已访问:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="icon_visit"  CssClass="width100"  runat="server" Columns="50" Text='%SWFPATH%Skin/images/spot/icon_visit.png' /></td>
                      </tr>
                      <tr class="displaynone">
                        <td align="center" nowrap="nowrap" class="left_title">icon_onhover:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="icon_onhover" CssClass="width100"  runat="server" Columns="50" Text='%SWFPATH%Skin/images/spot/icon_onhover.png' /></td>
                      </tr>
                      <tr class="displaynone">
                        <td align="center" nowrap="nowrap" class="left_title">icon_active:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="icon_active" CssClass="width100"  runat="server" Columns="50" Text='%SWFPATH%Skin/images/spot/icon_active.png' /></td>
                      </tr>
                      <tr >
                        <td colspan="3" align="center" nowrap="nowrap">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">HTML5初始化:</td>
                        <td colspan="2" align="left"><asp:TextBox Columns="50" CssClass="width100" ID="icon_init_alt" runat="server" Text='%SWFPATH%Skin/images/spot/icon_init.png' /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">HTML5已访问:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="icon_visit_alt"  CssClass="width100"  runat="server" Columns="50" Text='%SWFPATH%Skin/images/spot/icon_visit.png' /></td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">show:
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('ac_show');"/>
                          <br />
                          显示<br /></td>
                        <td align="left"><asp:TextBox CssClass="width100" ID="ac_show" runat="server" TextMode="MultiLine" Rows="4" Text="set(plugin[{map_name}].visible,true);" />
                          _showmap_{name}();</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">hidden:
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('ac_hidden');"/>
                          <br />
                          隐藏<br /></td>
                        <td align="left"><asp:TextBox CssClass="width100" ID="ac_hidden" runat="server" TextMode="MultiLine" Rows="4" Text="set(plugin[{map_name}].visible,false);" />
                          _hidemap_{name}();</td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onclick:<br />
                          鼠标点击<br />
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onclick');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onclick" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onover:<br />
                          鼠标经过
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onover');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onover" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onhover:<br />
                          鼠标停留
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onhover');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onhover" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onout:<br />
                          鼠标移开
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onout');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onout" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">ondown:<br />
                          鼠标按下
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('ondown');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="ondown" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onup:<br />
                          鼠标抬起
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onup');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onup" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onloaded:<br />
                          加载完成
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onloaded');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onloaded" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                    </table>
                  </div>
                </div>
              </div></td>
          </tr>
          <tr>
            <td height="26" align="center"><asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="True" ShowSummary="False" />
              <asp:Button CssClass="width80px" ID="ButPost" runat="server" Text="提交保存" OnClick="ButPost_Click" />
              <input name="Submit" type="reset" class="width80px" value="重置" />
              <input name="ButReturn" type="button" class="width80px" id="ButReturn" onclick="window.location='<%=MyApp.Components.NavUrl.GetUrl(2)%>'" value="返回" /></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
<script type="text/javascript">
<!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
//-->
    </script>
</body>
</html>
