]> matita.cs.unibo.it Git - helm.git/blob - helm/gtkmathview-bonobo/test/embedding.xml
ocaml 3.09 transition
[helm.git] / helm / gtkmathview-bonobo / test / embedding.xml
1 <?xml version="1.0"?>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3
4 <head>
5   <script language="JavaScript">
6 <!--
7     function setSize(id, width, height)
8     {
9       document.elements[id].width = width;
10       document.elements[id].height = height;
11       document.elements['eccolo'].value = 'Ciao';
12       alert('hello!');
13     }
14 -->
15   </script>
16 </head>
17
18 <body>
19
20   <h1>GtkMathView-Bonobo test page</h1>
21
22   The embedded object should display a mathematical formula.
23   <br />
24
25   <object name="MATH" data="#math1" width="500" height="100" type="application/mathml+xml">
26     <math id="math1" display="block" xmlns="http://www.w3.org/1998/Math/MathML">
27        <mfrac>
28          <mi href="http://www.google.it">x</mi>
29          <mn>2</mn>
30        </mfrac>
31       <mo>=</mo>
32       <mtext href="javascript:alert('like if I can do that')">click for the answer</mtext>
33     </math>
34   </object>
35
36   <form name="test">
37     <input name="eccolo" type="button" onClick="alert('hi')">Size</input>
38   </form>
39
40 </body>
41
42 </html>
43