view hip.html @ 11:9e18b8d8c936

Added simple text-selection support; use words like 'this', 'selection', or 'it' to refer to your selection. It will be interpolated in the correct position in your sentence. I don't have a selection-grabbing mechanism yet (it's beside the point) so I just added a text input field to hip.html that we will pretend is your selection for not.
author jonathandicarlo@localhost
date Fri, 16 May 2008 19:43:45 -0700
parents 98935af12b04
children 8dcc88f93829
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" type="text/css" media="all"
        href="hip.css" />
  <title></title>
</head>
<body>
  <div id="status-line">Ubiquity!</div>
  <input id="search-box" type="text" size="40" />
  <div id="autocomplete-popup"></div>
  <hr/>
  <p>Pretend this is your selection: <input id="selection" type="text" size=30" /></p>
</body>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="hip.js"></script>
</html>