Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / modules / plugin / sdk / samples / testevents / SimpleEventsTest.html
blob15afe182e78357b062940baff9cd6d298a7ad3ab
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
2 <html>
3 <head>
4 <title>Mozilla Plugin with Events Sample</title>
5 <style>
6 input {
7 font-size:9pt;
9 body {
10 margin-width: 0;
11 background-color: #CCCCCC;
13 </style>
15 <script>
16 function DoSet() {
17 document.ev.nsIEventsSampleInstance.val = document.frm.plugText.value;
19 function DoGet() {
20 document.frm.plugText.value = document.ev.nsIEventsSampleInstance.val;
22 </script>
24 </head>
25 <body>
26 <embed frameborder="1" type="application/x-events-sample-plugin"
27 width="100%" height="30%" name="ev">
28 <br />
29 <form name="frm">
30 <input type="button" value="Set ^" onclick='DoSet()'>
31 <input type="button" value="Get v" onclick='DoGet()'>
32 <br />
33 <input name="plugText" type="text" value="" size=15>
34 <br/>
35 <p>This for demonstrates a native widget working with the Mozilla plugin
36 architecture</p>
37 <p>On each platform, a native editor widget is used. Currently, not much works in
38 terms of mouse, focus or keystroke handling.</p>
39 </form>
40 </body>
41 </html>