34 lines
1.7 KiB
Plaintext
34 lines
1.7 KiB
Plaintext
<%@ Control Inherits="CuteEditor.EditorUtilityCtrl" Language="c#" AutoEventWireup="false" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
|
|
<fieldset style="padding:4px;">
|
|
<legend>
|
|
[[Cursor]]
|
|
</legend>
|
|
<select id="sel_cursor">
|
|
<option value="">[[NotSet]]</option>
|
|
<option value="Default">[[Default]]</option>
|
|
<option value="Move">[[Move]]</option>
|
|
<option value="Text">Text</option>
|
|
<option value="Wait">Wait</option>
|
|
<option value="Help">Help</option>
|
|
<option value="Pointer">Pointer</option>
|
|
<option value="Hand">Hand</option>
|
|
<option value="Progress">Progress </option>
|
|
<option value="not-allowed">Not-Allowed</option>
|
|
<!-- x-resize -->
|
|
</select>
|
|
</fieldset>
|
|
|
|
<fieldset style="padding:4px;">
|
|
<legend>
|
|
[[Filter]]
|
|
</legend>
|
|
<input type="text" id="inp_filter" style="width:240px" /> <!--button filter builder-->
|
|
</fieldset>
|
|
<div id="outer" style="height:100px; margin-bottom:10px; padding:5px;"><div id="div_demo">[[DemoText]]</div></div><br />
|
|
|
|
<script type="text/javascript">
|
|
|
|
var OxO2cd0=["sel_cursor","inp_filter","outer","div_demo","cssText","style","value","cursor","filter"];var sel_cursor=Window_GetElement(window,OxO2cd0[0],true);var inp_filter=Window_GetElement(window,OxO2cd0[1],true);var outer=Window_GetElement(window,OxO2cd0[2],true);var div_demo=Window_GetElement(window,OxO2cd0[3],true);function UpdateState(){div_demo[OxO2cd0[5]][OxO2cd0[4]]=element[OxO2cd0[5]][OxO2cd0[4]];} ;function SyncToView(){sel_cursor[OxO2cd0[6]]=element[OxO2cd0[5]][OxO2cd0[7]];if(Browser_IsWinIE()){inp_filter[OxO2cd0[6]]=element[OxO2cd0[5]][OxO2cd0[8]];} ;} ;function SyncTo(element){element[OxO2cd0[5]][OxO2cd0[7]]=sel_cursor[OxO2cd0[6]];if(Browser_IsWinIE()){element[OxO2cd0[5]][OxO2cd0[8]]=inp_filter[OxO2cd0[6]];} ;} ;
|
|
|
|
</script>
|