transportEventsApi.htm 1.1 KB

12345678910111213141516171819202122232425
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>JSAPI2::Transport Events Api</title>
  5. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  6. <script type="text/javascript" src="api2.js"></script>
  7. </head>
  8. <body onload="teUnregisterClicked();" onunload="teUnregisterClicked();" style="FONT-FAMILY: MS Shell Dlg 2;">
  9. <h2>Transport Events API</h2>
  10. <h3>Methods:</h3>
  11. <input type="button" value="Register For Events" id="teRegister" onclick="teRegisterClicked();">
  12. <input type="button" value="Unregister From Events" id="teUnregister" onclick="teUnregisterClicked();">
  13. <br><br>
  14. &nbsp;&nbsp;&nbsp;&nbsp;Callback function:&nbsp;<input readonly type="text" id="te_t_Callback" value="OnEvents">
  15. <br><br><br>
  16. <b>Events Received</b>
  17. &nbsp;&nbsp;&nbsp;&nbsp;
  18. <a href="javascript:te_AreaCleared();"><small>clear</small></a>
  19. <br><br>
  20. <select size="10" id="te_s_Select" style="width: 100px" onchange="teEventSelected();">
  21. <option>No Events</option>
  22. </select>
  23. <textarea rows="10" cols="40" id="te_ta_Area"></textarea>
  24. </body>
  25. </html>