STATS.JAV
资源名称:ertos.rar [点击查看]
上传用户:sunrenlu
上传日期:2022-06-13
资源大小:1419k
文件大小:1k
源码类别:
操作系统开发
开发平台:
DOS
- <SCRIPT LANGUAGE="JavaScript" >
- <!--
- var timer_id = 0;
- var delay = 2000; // reload interval in mS
- var inside = 0;
- function updater() {
- timer_id=window.setTimeout("updater()", delay);
- if ( inside == 0 ) {
- inside = 1;
- Image1 = new Image();
- Image1.src = "graph.gif";
- document.images["graphid"].src = Image1.src;
- Image1.free;
- inside = 0;
- }
- }
- function start (element_id) {
- timer_id=window.setTimeout("updater()", delay);
- }
- function stop () {
- window.clearTimeout(timer_id);
- }
- // -->
- </SCRIPT>
- </head>
- <BODY onload="start(document)"
- onunload="stop()">
- <form>
- <input type="text" name="temp">
- </form>
- <p>The following graph is generated on-the-fly and just shows the
- graphics generation capability.</p>
- <p>To change the graph, pick <i>Change Settings</i> in the top frame.</p>
- <img src="graph.gif" name="graphid" width=400 height=100>
- </body>
- </html>