Tizen 2.0 Release
[samples/web/NPRuntime.git] / index.html
1 <!DOCTYPE html>
2 <html>
3  <head>
4   <meta charset="utf-8" />
5   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
6   <meta name="description" content="Tizen NPPlugin Sample Web Application" />
7   <script type="text/javascript" src="./js/main.js"></script>
8   <title>Tizen Web IDE - Tizen - NPPlugin Sample Web Application</title>
9  </head>
10  <body>
11   <object id="NPPluginMatrix" type="application/test" width="0" height="0"></object>
12   <header>
13    <hgroup>
14     <h1>NPPlugin Sample</h1>
15     <hr />
16     <h3>Description</h3>
17     <h4>This sample application compares Javascript and NPPlugin about matrix multiplication time.
18      <hr /></h4>
19     <h3>Running steps</h3>
20     <h4>1. Get the matrix length <br />2. Create two square matrixes with random generated number <br />3. Measure the multiplication time </h4>
21     <hr />
22    </hgroup>
23   </header>
24   <p>Enter the matrix length : <input type="number" min="100" max="500" value="100" id="length_btn" onkeydown="check_input_onkeydown()" style="height: 30px; width: 70px" /> (100~500)<br /></p>
25   <hr />
26   <div id="resultByJS_div">
27     Javascript :
28   </div>
29   <br />
30   <div id="resultByPlugin_div">
31     NPPlugin :
32   </div>
33   <p><input type="button" value="Get the multiplication time" id="result_btn" onclick="resultFunction()" /><br /></p>
34   <div id="array1"></div>
35   <div id="array2"></div>
36   <div id="array3"></div>
37   <div id="array4"></div>
38  </body>
39 </html>