摘要: 1 <script> 2 function changecolor(dom){ 3 dom.style.backgroundColor = "gray"; 4 } 5 function changeback(dom){ 6 dom.style.backgroundColor = "green"; 7 } 8 </script> 9 <style type="text/css">10 div{11 width:200px;12 height:200px;13 border:... 阅读全文
posted @ 2012-07-31 19:47 晓 漪 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 using System.Text; 8 using System.Windows.Forms; 9 using System.IO;10 using System.Threading;11 namespace ThreadCopy12 {13 public partial class ... 阅读全文
posted @ 2012-07-31 19:43 晓 漪 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1 function Clock(){ 2 var date = new Date(); 3 var year = date.getFullYear(); 4 var month = date.getMonth()+1; 5 var day = date.getDate(); 6 var week = date.getDay(); 7 var hour = date.getHours(); 8 var minute = date.getMinutes(); 9 var second = date.getSeconds();1... 阅读全文
posted @ 2012-07-31 19:36 晓 漪 阅读(155) 评论(0) 推荐(0) 编辑