Monday, March 28, 2011

Snappy menus

<select id='commands' style ="width: 90px" >
      <option  onmouseup = "execLevel(this.value)">dir</option>
      <option  onmouseup = "execLevel(this.value)">init</option>
      <option  onmousedown = "execLevel(this.value)">sql</option>
      <option  onmousedown = "execLevel(this.value)">list</option>
      <option  onmouseup = "execLevel(this.value)">clear</option>
      <option  onmouseup = "execLevel(this.value)">drop</option>
      <option  >table</option>
      <option  >macro</option>
      <option  onmouseup = "execLevel(this.value)">test</option>
      <option  onmouseup = "execLevel(this.value)">hello</option>
</select>

But it only works cleanly in opera,near as I can tell. But it is quick to the user, drop down and click.

No comments: