<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="AD_Plugin.aspx.cs" Inherits="MYAPP.Manage.Project.Design.Tour.AD_Plugin" ValidateRequest="false" %>
<!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>Design Plugin</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">
    var plugin_name;
    function set_plugin(field, value) {
        if (field.Trim() != 'name') {
            try {
                dp.set_plugin(plugin_name, field, value);
            }
            catch (exception) { }
        }
        else {
        }
    }
    function set_dragplugin() {
        dp.krpano().call("freezeview(true);");
        set_plugin("onhover", "onhover_drag();");
        set_plugin("ondown", "ondown_drag();");
        set_plugin("onup", "onup_drag();");

        //set_plugin("onhover", "onhover_drag();"+$("onhover").value);
        //set_plugin("ondown", "ondown_drag();"+$("ondown").value);
        //set_plugin("onup", "onup_drag();"+$("onup").value);

    }

    function restore_dragplugin() {
        set_plugin("onhover", $("onhover").value);
        set_plugin("ondown", $("ondown").value);
        set_plugin("onup", $("onup").value);
    }
    function get_pluginxy() {
        $("x").value = dp.get_plugin(plugin_name, "x");
        $("y").value = dp.get_plugin(plugin_name, "y");
    }
    function set_pluginxy() {
        set_plugin("x", $("x").value);
        set_plugin("y", $("y").value);
    }
    function action_del() {
        if (but_delete_confirm()) {
            window.location = 'AD_Plugin.aspx?action=del&Tour_ID=<%=_Tour_ID%>&ROW=<%=_ROW%>';
        }
    }
</script>
<link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
</head>
<body onLoad="top.selectbyvalue('plugin_<%=_ROW%>');plugin_name=$('name').value;">
<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 width="85%" class="l_title"><a href="http://www.krpano.com/docu/xml/#plugin" target="_blank"> [Plugin]</a></td>
                  <td width="300" align="center">&nbsp;</td>
                </tr>
              </table></td>
          </tr>
          <%if (base.action=="edit"){%>
          <tr>
            <td align="center"><iframe src="../Export_TourXml.aspx?Tour_ID=<%=_Tour_ID%>&navurl=design_plugin.aspx" id="dp" name="dp" width="100%" scrolling="Auto" frameborder="0" height="500"></iframe></td>
          </tr>
          <%}%>
          <tr>
            <td><div id="TabbedPanels1" class="TabbedPanels">
                <ul class="TabbedPanelsTabGroup">
                  <li class="TabbedPanelsTab" tabindex="0">基础</li>
                  <li class="TabbedPanelsTab" tabindex="0">Container容器</li>
                  <li class="TabbedPanelsTab" tabindex="0">滚动区域</li>
                  <li class="TabbedPanelsTab" tabindex="0">HTML5/APPLE</li>
                  <li class="TabbedPanelsTab" tabindex="0">Crop/Scale9Grid</li>
                  <li class="TabbedPanelsTab" tabindex="0">视频插件</li>
                  <li class="TabbedPanelsTab" tabindex="0">HTML插件</li>
                  <li class="TabbedPanelsTab displaynone" tabindex="0">下拉框插件</li>
                  <li class="TabbedPanelsTab" tabindex="0">插件事件</li>
                  <li class="TabbedPanelsTab" tabindex="0" onclick="window.open('List_Accessories_Info.aspx?curl=%FIRSTXML%/Plugin&dir=Plugin&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"> name:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="name" runat="server" Columns="30" Enabled="true" />                  
                          <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">type:</td>
                        <td colspan="3" align="left"><asp:DropDownList ID="type" runat="server">
                          <asp:ListItem value="image">image:URL地址方式(图片,FLASH)</asp:ListItem>
                          <asp:ListItem value="container">container:容器</asp:ListItem>
                        </asp:DropDownList>
                        (插件类型)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">url:</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">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' />  
                          (透明度)
                          <asp:CheckBox ID="autoalpha" Text="autoalpha" runat="server" Checked="false" />
                          (自动透明度)                          
                          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">位置:</td>
                        <td colspan="3" 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' />
                          (相对位置偏量)
                          <input type="button" class="cursor_pointer" onclick="set_pluginxy();" value="设置位置"/>
                          <input type="button" class="cursor_pointer" onclick="get_pluginxy();" value="获取位置"/>
                          <input type="button" class="cursor_pointer" onclick="set_dragplugin();" value="允许鼠标拖动插件"/></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' />
                          (基准点位置偏移量)</td>
                        <td align="left" class="left_title">&nbsp;</td>
                        <td align="left">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">accuracy:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="accuracy" runat="server" Text='0' Columns="6" />                  
                          (定位精度:默认0,最大1;0表示最大精度,不需调整)</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">&nbsp;</td>
                        <td colspan="3" align="left"><asp:CheckBox ID="usecontentsize" Text="usecontentsize" runat="server" />                  
                          (使用内容尺寸,不设定为插件整个画布尺寸,设定后将使用实际内容尺寸)</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:ListItem value="GoogleMap">GoogleMap</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 align="left"><asp:DropDownList ID="mask" runat="server">
                          <asp:ListItem value=""></asp:ListItem>
                        </asp:DropDownList>
                          ( plugin.name,plugin[pluginname])(蒙版插件名称)</td>
                        <td align="left" class="left_title">maskchildren</td>
                        <td align="left"><asp:CheckBox ID="maskchildren" runat="server" Text='maskchildren' Checked="false" />                  
                          (子插件遮罩,启用后子插件超出当前插件的显示范围将不显示)</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" />                  
                          )默认=&quot;0&quot;(旋转角度)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">属性:</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="pixelhittest" Text="pixelhittest" runat="server" Checked="true" /></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"><li>发光:glow(color,alpha,range,strength); </li>
                          <li>阴影:opshadow(depth,angle,color,range,strength); </li>
                          <li>模糊:blur(radius); </li>
                          例子:   glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,3,1);</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">Intro:<br />
                          插件说明</td>
                        <td colspan="3" align="left"><asp:TextBox CssClass="width100" ID="Intro" Rows="4" runat="server" TextMode="MultiLine" /></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">bgcolor:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="bgcolor" runat="server" Text='0x000000' Columns="8" />                        
                        <img border="0" src="/images/pickcolor.gif" width="18" onclick="selColor(bgcolor,this)" />容器背景颜色</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">bgalpha:</td>
                        <td colspan="2" align="left"><asp:TextBox Columns="10" ID="bgalpha" runat="server" Text="0" />                        
                        容器透明度</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">bgcapture:</td>
                        <td colspan="2" align="left"><asp:CheckBox ID="bgcapture" runat="server" Text='容器是否接受鼠标事件' />                        
                        (只有当容器透明度大于0才生效)</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 align="left">                        <input type="button" value="设置滚动插件"  onclick="$('url').value='%SWFPATH%/plugins/scrollarea.swf';$('alturl').value='%SWFPATH%/plugins/scrollarea.js';"/>
                        (%SWFPATH%/plugins/scrollarea.swf)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">滚动方向:</td>
                        <td align="left"><asp:DropDownList ID="direction" runat="server">
                          <asp:ListItem value="all">all:横向竖向都可以滚动</asp:ListItem>
                          <asp:ListItem value="h">h:横向滚动</asp:ListItem>
                          <asp:ListItem value="v">v:竖向滚动</asp:ListItem>
                        </asp:DropDownList></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">devices:</td>
                        <td colspan="2" align="left"><asp:DropDownList ID="devices" runat="server">
                            <asp:ListItem value="all">所有设备</asp:ListItem>
                            <asp:ListItem value="flash">Flash支持设备</asp:ListItem>
                            <asp:ListItem value="html5|iphone|ipad|android">IPAD|IPHONE|安卓系统|HTML5浏览器</asp:ListItem>
                          </asp:DropDownList>
                          针对设备</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">alturl:</td>
                        <td colspan="2" align="left"><asp:TextBox Columns="60" CssClass="width100" ID="alturl" runat="server" />
                          如果是flash插件,这里请填写替换地址(换成图片替换地址)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">altscale:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="altscale" runat="server" Text='1' Columns="6" />
                          (缩放比例)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">jsborder:<br /></td>
                        <td colspan="2" align="left"><asp:TextBox CssClass="width100" ID="jsborder" Rows="4" runat="server" TextMode="MultiLine" />
                          <div id="gt-res-content">
                            <div dir="ltr"><span title="点击可显示其他翻译" closure_uid_7evrt="200">JavaScript中</span><span title="点击可显示其他翻译" closure_uid_7evrt="201">的CSS</span><span title="点击可显示其他翻译" closure_uid_7evrt="202">边框设置</span><span title="点击可显示其他翻译" closure_uid_7evrt="203">。</span></div>
                          </div></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">altonloaded:<br />
                          加载完成</td>
                        <td colspan="2" align="left"><asp:TextBox CssClass="width100" ID="altonloaded" Rows="4" runat="server" TextMode="MultiLine" /></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">crop:</td>
                        <td align="left"><asp:TextBox ID="crop" runat="server" Columns="50" Enabled="true" />
                          &quot;x|y|width|height&quot; 正常显示</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onovercrop:</td>
                        <td align="left"><asp:TextBox ID="onovercrop" runat="server" Columns="50" Enabled="true" />
                          &quot;x|y|width|height&quot; 鼠标经过时显示</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">ondowncrop:</td>
                        <td align="left"><asp:TextBox ID="ondowncrop" runat="server" Columns="50" Enabled="true" />
                          &quot;x|y|width|height&quot; 鼠标按下时显示</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">scale9grid:</td>
                        <td align="left"><asp:TextBox ID="scale9grid" runat="server" Columns="50" Enabled="true" />
                          &quot;x|y|width|height&quot; </td>
                      </tr>          <tr>
            <td colspan="2"  height="26" align="center">crop:为软件截取插件图片的 X|Y位置 宽高 width|height 显示在屏幕上.</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">posterurl:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="posterurl" runat="server" Columns="60" />                    
                          图片替换地址，视频未加载播放前现实的图片</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title"> videourl:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="videourl" runat="server" Columns="60" />                    
                          视频热点地址(多个地址用 &quot;|&quot; 隔开)
                            <input type="button" value="设置视频热点"  onclick="$('url').value='%SWFPATH%/plugins/videoplayer.swf';$('alturl').value='%SWFPATH%/plugins/videoplayer.js';$('onover').value='';$('onout').value='';$('onclick').value='togglepause();';"/>
                          (.flv, .mp4, .m4v, .mov, .3gp)(<a href="http://www.krpano.com/plugins/videoplayer/#videourl" target="_blank">help</a>)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">&nbsp;</td>
                        <td colspan="2" align="left"><ul>
                          <li><strong>MPEG4/H264</strong> (.mp4, .m4v) - Flashplayer / Safari / Chrome / IE </li>
                          <li><strong>Flash Video</strong> (.flv, .f4v) - Flashplayer </li>
                          <li><strong>WebM</strong> - Chrome / Firefox </li>
                          <li><strong>Ogg Theora</strong> (.ogg, .ogv) - Firefox </li>
                        </ul></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">volume:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="volume" Text="1" Columns="10" runat="server" />                    
                          (音量)range:
                          <asp:TextBox ID="range" runat="server" />  
                          (1 - 360)(声音区域)
                          <asp:CheckBox ID="directionalsound" Text="directionalsound" runat="server" />
                          (是否方位声音)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">buffertime:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="buffertime" Text="0.1" Columns="10" runat="server" />                    
                          second(缓冲时间)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">视频属性:</td>
                        <td colspan="2" align="left"><asp:CheckBox ID="loop" Text="loop" runat="server" Checked="true" />                    
                          (循环播放)
                          <asp:CheckBox ID="pausedonstart" Text="pausedonstart" runat="server" />  
                          (加载的时候暂停)
                          <asp:CheckBox ID="updateeveryframe" runat="server" Text='updateeveryframe' Checked="true" />
                          (播放每一帧)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onvideoready:<br />
                        <input type="button" class="width80px" value="辅助"  onclick="KREditor('onvideoready');"/></td>
                        <td colspan="2"><asp:TextBox CssClass="width100" ID="onvideoready" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onvideopaused:<br />
                        <input type="button" class="width80px" value="辅助"  onclick="KREditor('onvideopaused');"/></td>
                        <td colspan="2"><asp:TextBox CssClass="width100" ID="onvideopaused" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onvideocomplete:<br />
                          视频播放完成事件
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onvideocomplete');"/></td>
                        <td colspan="2"><asp:TextBox CssClass="width100" ID="onvideocomplete" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onunsupported:<br />
  <input type="button" class="width80px" value="辅助"  onclick="KREditor('onunsupported');"/></td>
                        <td colspan="2" align="left">
                            <asp:TextBox CssClass="width100" ID="onunsupported" runat="server" TextMode="MultiLine" Rows="4" /></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">HTML插件:</td>
                        <td align="left"><asp:CheckBox ID="T_HtmlPluginTF" Text="使用HTML插件" runat="server" />
                          (%SWFPATH%/plugins/textfield.swf)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">属性:</td>
                        <td align="left">autosize:
                          <asp:DropDownList ID="autosize" runat="server">
                            <asp:ListItem value="none">none</asp:ListItem>
                            <asp:ListItem value="left">left</asp:ListItem>
                            <asp:ListItem value="center">center</asp:ListItem>
                            <asp:ListItem value="right">right</asp:ListItem>
                          </asp:DropDownList>
                          <asp:CheckBox ID="background" Text="background" runat="server" />
                          backgroundcolor:
                          <asp:TextBox ID="backgroundcolor" Text="0xFFFFFF" Columns="8" runat="server" />
                          bordercolor
                          <asp:TextBox ID="bordercolor" runat="server" Columns="8" Text='0x000000' />
                          borderwidth:
                          <asp:TextBox ID="borderwidth" Text="1" Columns="4" runat="server" />
                          roundedge:
                          <asp:TextBox ID="roundedge" Text="0" runat="server" Columns="4" />
                          <br />
                          <asp:CheckBox ID="selectable" Text="selectable" runat="server" />
                          glow:
                          <asp:TextBox ID="glow" Text="0" runat="server" Columns="4" />
                          glowcolor:
                          <asp:TextBox ID="glowcolor" Columns="8" runat="server" Text='0xFFFFFF' />
                          blur:
                          <asp:TextBox ID="blur" Text="0" runat="server" Columns="4" />
                          shadow:
                          <asp:TextBox ID="shadow" Text="0" Columns="4" runat="server" />
                          <br />
                          textglow:
                          <asp:TextBox ID="textglow" Text="0" Columns="4" runat="server" />
                          textglowcolor:
                          <asp:TextBox ID="textglowcolor" runat="server" Text='0xFFFFFF ' />
                          textblur:
                          <asp:TextBox ID="textblur" Text="0" Columns="4" runat="server" />
                          textshadow:
                          <asp:TextBox ID="textshadow" Columns="4" runat="server" />
                          <br /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title"> CSS :<br />
                          <a href="http://livedocs.adobe.com/flex/201/langref/flash/text/StyleSheet.html" target="_blank"><font color="#FF0000">(help)</font></a></td>
                        <td align="left"><asp:TextBox CssClass="width100" ID="css" MaxLength="20" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" class="left_title">html content:<br />
                          <a href="http://livedocs.adobe.com/flex/201/langref/flash/text/TextField.html#htmlText" target="_blank"><font color="#FF0000">(help)</font></a></td>
                        <td align="left"><asp:TextBox CssClass="width100" ID="html" Rows="8" runat="server" TextMode="MultiLine" /></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 align="left"><asp:CheckBox ID="T_ComboBoxTF" Text="使用下拉框插件" runat="server" />
                          (%SWFPATH%/plugins/combobox.swf)</td>
                      </tr>
                      <tr>
                        <td colspan="2" align="center" nowrap="nowrap"><iframe src="List_ComboBox.aspx?Info_ID=<%=_Tour_ID%>&ROW=<%=_ROW%>" id="mainCBFrame" name="mainCBFrame" width="100%" scrolling="Auto" frameborder="0" height="380"></iframe></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" 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" 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" 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" 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" 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" 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" 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" />
              <%if (base.action=="edit"){%>
              <input  type="button" class="width80px" onclick="dp.window.location='../Export_TourXml.aspx?navurl=design_plugin.aspx&Tour_ID=<%=_Tour_ID%>';" value="刷新预览" />
              <%}%>
              <asp:Button CssClass="width80px" ID="ButPost" runat="server" Text="提交保存" OnClick="ButPost_Click" />
              <input name="Submit" type="reset" class="width80px" value="重置" />
               <%if (base.action=="edit"){%>
              <input name="ButDel" type="button" class="width80px" id="ButDel" onclick="action_del();" value="删除" /><%}%>
              <input name="ButReturn" type="button" class="width80px" id="ButReturn" onclick="window.location='List_Plugin.aspx?Tour_ID=<%=_Tour_ID%>';" value="返回" /></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
<script type="text/javascript">
<!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
//-->
    </script>
</body>
</html>
