1. 程式人生 > >改變狀態欄

改變狀態欄

xmlns status charset pre function div www nload har

改變狀態欄

<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <script language="javascript">
        var count = 55;
        function update() {
            if (count > 0)
                status 
= count--; } //defaultstaus =""; 設置狀態欄 </script> </head> <body onload="setInterval(‘update()‘, 1000);"> </body> </html>

改變狀態欄