亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

新手求解答——哪里的問題,問什么報錯??

新手求解答——哪里的問題,問什么報錯??

qq_無心_12 2016-01-05 20:48:14
1.<body><frameset cols="250,*" frameborder="0">?? <frame src="4.html" name="formFrame" />?? <frame src="about:blank" name="resultsFrame" /></frameset></body>2.<script type="text/javascript">var timeDiff;var selectedCity;var daylightSavingAdjust = 0;function updateTimeZone(){?? ?var theCity = document.form1.lstCity;?? ? timeDiff = theCity.options[theCity.selectedIndex].value;?? ?selectedCity = theCity.options[theCity.selectedIndex].text;?? ?updateTime();}function getTimeString(dateObject){?? ?var timeString;?? ?var hours = dateObject.getHours();?? ?if(hours<10)?? ??? ??? ?hours = "0"+ hours;?? ??? ?var nimutes = dateObject.getMinutes();?? ??? ?if(minutes < 10)?? ??? ?minutes = "0"+minutes;?? ??? ?var seconds = dateObject.getMinutes();?? ??? ?if(seconds<10)?? ??? ?seconds = "0"+seconds;?? ??? ?timeString = hours + ":"+minutes +":"+ seconds;?? ??? ?return timeString;}function updateTime(){?? ?var? nowTime = new? Date();?? ?var? resultsFrame = window.top.resultsFrame.document;?? ?resultsFrame.open();?? ?resultsFrame.write("Local Time is "+getTimeString(nowTime)+"<br>");?? ?nowTime.setMinutes(nowTime.getMinutes()+nowTime.getTimezoneOffset()+parseInt(timeDiff)+daylightSavingAdjust);?? ?resultsFrame.write(selectedCity+" time is "+getTimeString(nowTime));?? ?resultsFrame.close();}function chkDaylightSaving_onclick(){?? ?if(document.form1.chkDaylightSaving.checked)?? ?{?? ??? ?daylightSavingAdjust = 60;?? ?}?? ?else?? ?{?? ??? ?daylightSavingAdjust =0;?? ?}?? ?updateTime();}? </script> ?</head><body onload="updateTimeZone()"><form name="form1"><select size="5" name="lstCity" onchange="updateTimeZone();">?? <option value="60" selected="selected">Berlin</option>?? <option value="330">Bombay</option>?? <option value="0">London</option>?? <option value="180">Moscow</option>?? <option value="-300">NewYork(EST)</option>?? <option value="60">Pairs</option>?? <option value="-480">San Francisco(PST)</option>?? <option value="600">Sydney</option></select><p>It's summertime in the selected city and its country adjusts for summertime daylight saving <input type="checkbox" name="chkDaylightSaving"? onclick="return chkDaylightSaving_onclick()" /></p></form></body>
查看完整描述

3 回答

?
qq_無心_12

TA貢獻4條經驗 獲得超0個贊

求指點

查看完整回答
反對 回復 2016-01-05
?
qq_無心_12

TA貢獻4條經驗 獲得超0個贊

為什么還沒有人看到,我還沒有搞定哦

查看完整回答
反對 回復 2016-01-05
  • 3 回答
  • 0 關注
  • 1379 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號