15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)<!DOCTYPE html>
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)<html>
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)<!--
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)Copyright (c) 2012 The Chromium Authors. All rights reserved.
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)Use of this source code is governed by a BSD-style license that can be
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)found in the LICENSE file.
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)-->
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)<head>
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <meta http-equiv="Pragma" content="no-cache">
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <meta http-equiv="Expires" content="-1">
112a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)  <title>{{title}}</title>
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <script type="text/javascript" src="common.js"></script>
135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <script type="text/javascript" src="example.js"></script>
145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)</head>
152a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)<body {{attrs}}>
162a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)  <h1>{{title}}</h1>
175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <h2>Status: <code id="statusField">NO-STATUS</code></h2>
18eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch  <p>The dlopen example demonstrates how to build dynamic libraries and then
19c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)     open and use them at runtime.  When the page loads, type in a question and
20c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)     hit enter or click the ASK! button.  The question and answer will be
21c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)     displayed in the page under the text entry box.  Shared libraries are only
22c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)     available with the GLIBC toolchain.</p>
23c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)  <p>Magic eightball: type a question below, press the button, and get a
24c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)      response.</p>
255821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <form>
265821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)    <input type="text" id="question" value="">
275821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)    <input type="submit" value="ASK!">
285821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  </form>
292a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)  <p>... or click this button to reverse the string.</p>
302a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)  <button id="reverse">Reverse</button>
315821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <!-- The NaCl plugin will be embedded inside the element with id "listener".
325821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)      See common.js.-->
335821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <div id="listener"></div>
34c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)  <pre id="log" style="font-weight: bold"></pre>
355821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)</body>
365821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)</html>
37