]> err.no Git - sope/blob - sopex/Samples/WOxExtTest/TextFlyover.wox
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1201 e4a50df8-12e2-0310-a44c...
[sope] / sopex / Samples / WOxExtTest / TextFlyover.wox
1 <?xml version='1.0' standalone='yes'?>
2 <var:component className="Frame" title="name"
3            xmlns="http://www.w3.org/1999/xhtml"
4            xmlns:var="http://www.skyrix.com/od/binding"
5            xmlns:const="http://www.skyrix.com/od/constant">
6
7   <var:js-text-flyover
8      const:pageName     = "PanelContent"
9      const:targetWindow = "panel"
10      selectedColor      = "selectedColor"
11      unselectedColor    = "unselectedColor"
12      const:string       = "'new page' - text flyover"/>
13   <br/>
14   
15   <var:js-text-flyover
16      action          = "countClicks"
17      selectedColor   = "selectedColor"
18      unselectedColor = "unselectedColor"
19      const:string    = "'invoke action' - text flyover"/>
20   
21   clicks: <b><var:string value="clicks"/></b>
22   <br/>
23
24   <var:js-text-flyover
25      javaScriptFunction = "javaScriptFunction"
26      selectedColor      = "selectedColor"
27      unselectedColor    = "unselectedColor"
28      const:string       = "'invoke javescript' - text flyover"/>
29   <br/>
30
31   <form var:action="self">
32     <table border="0">
33       <tr>
34         <td align="right">selected color:</td>
35         <td><input type="text" size="10" var:value="selectedColor"/></td>
36       </tr>
37       <tr>
38         <td align="right">unselected color:</td>
39         <td><input type="text" size="10" var:value="unselectedColor"/></td>
40       </tr>
41       <tr><td colspan="2">
42         <input type="submit" value="apply" var:action="self"/>
43       </td></tr>
44      </table>
45   </form>
46 </var:component>