Line | |
---|
1 | <html> |
---|
2 | <head> |
---|
3 | <title></title> |
---|
4 | <meta name="vs_snapToGrid" content="True"> |
---|
5 | <meta name="vs_showGrid" content="True"> |
---|
6 | <script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="parseOnLoad: true, isDebug: true"></script> |
---|
7 | <script language="javascript" type="text/javascript"> |
---|
8 | dojo.require("dojox.string.BidiComplex"); |
---|
9 | |
---|
10 | function change(select){ |
---|
11 | dojox.string.BidiComplex.attachInput(document.getElementById("ctext"), select.value); |
---|
12 | } |
---|
13 | </script> |
---|
14 | </head> |
---|
15 | <body> |
---|
16 | <DIV ms_positioning="FlowLayout" id="DIV1"> |
---|
17 | <TABLE border="0" cellSpacing="0" cellPadding="0" width="100" height="100" ms_1d_layout="TRUE"> |
---|
18 | <TR> |
---|
19 | <TD> |
---|
20 | <TABLE border="0" cellSpacing="0" cellPadding="1" width="608" height="192"> |
---|
21 | <TR> |
---|
22 | <td width="197"> |
---|
23 | Complex Expression Pattern |
---|
24 | </td> |
---|
25 | <TD> |
---|
26 | <SELECT ID="Type" NAME="Type" onchange="change(this)"> |
---|
27 | <OPTION selected value="FILE_PATH">FILE_PATH</OPTION> |
---|
28 | <OPTION value="URL">URL</OPTION> |
---|
29 | <OPTION value="EMAIL">EMAIL</OPTION> |
---|
30 | <OPTION value="XPATH">XPATH</OPTION> |
---|
31 | </SELECT> |
---|
32 | </TD> |
---|
33 | </TR> |
---|
34 | <TR> |
---|
35 | <TD width="197"> |
---|
36 | Original Complex Bidi Text Display |
---|
37 | </TD> |
---|
38 | <TD> |
---|
39 | <INPUT id="nText" name='nText' cols="21" rows="1"> </INPUT> |
---|
40 | </TD> |
---|
41 | <TR> |
---|
42 | <TD width="197"> |
---|
43 | Fixed Complex Bidi Text Display |
---|
44 | </TD> |
---|
45 | <td> |
---|
46 | <INPUT id="ctext" name='nText' cols="21" rows="1"> </INPUT> |
---|
47 | </td> |
---|
48 | </TR> |
---|
49 | </TABLE> |
---|
50 | </TD> |
---|
51 | </TR> |
---|
52 | </TABLE> |
---|
53 | </DIV> |
---|
54 | <script type="text/javascript"> |
---|
55 | //var co = new dojox.string.BidiComplex(); |
---|
56 | |
---|
57 | dojox.string.BidiComplex.attachInput(document.getElementById("ctext"), "FILE_PATH"); |
---|
58 | </script> |
---|
59 | </body> |
---|
60 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.