中文字幕免费精品_亚洲视频自拍_亚洲综合国产激情另类一区_色综合咪咪久久

hta實現涂鴉效果代碼
來源:易賢網 閱讀:2376 次 日期:2016-06-30 08:46:20
溫馨提示:易賢網小編為您整理了“hta實現涂鴉效果代碼”,方便廣大網友查閱!

代碼如下:

<html>     

<head>     

<hta:application     

caption=no     

scroll=no     

showintaskbar=no     

innerborder=no     

contextmenu=no     

border=none     

singleinstance=yes     

windowstate=maximize     

>     

<title></title>     

<script>     

var timer = 100;     

var randdiv = new array(100);     

window.onload = function()     

{     

     for(var i = 0; i < randdiv.length; i++)     

     {     

             randdiv[i] = document.createelement(div);     

             randdiv[i].style.csstext = filter:progid:dximagetransform.microsoft.alpha(opacity=50);;     

             randdiv[i].style.position = absolute;     

             randdiv[i].style.background = getrandomcolor();     

             document.body.appendchild(randdiv[i]);     

     }     

     fun();     

}     

function fun()     

{     

     for(var i = 0; i < randdiv.length; i++)     

     {     

             randdiv[i].style.top = math.floor(math.random() * window.screen.height);     

             randdiv[i].style.left = math.floor(math.random() * window.screen.width);     

             randdiv[i].style.width = math.floor(math.random() * 100);     

             randdiv[i].style.height = math.floor(math.random() * 100);     

             randdiv[i].style.background = getrandomcolor();     

     }     

     settimeout(fun(), timer);     

}     

function getrandomcolor()     

{     

     var r = math.floor(math.random() * 255).tostring(16);     

     var g = math.floor(math.random() * 255).tostring(16);     

     var b = math.floor(math.random() * 255).tostring(16);     

     r = r.length == 1 ? 0 + r : r;     

     g = g.length == 1 ? 0 + g : g;     

     b = b.length == 1 ? 0 + b : b;     

     return # + r + g + b;     

}     

</script>     

</head>     

<body>     

</body>     

</html>

木容涂鴉板(moron scratch) 可以在線生成一個在桌面上自動繪畫的應用程序。

只需要你發揮想象繪制一副想要的圖案,然后點擊下載按鍵就可以得到一個很小的moron_scratch.exe的程序。

雙擊運行它,就能看到你的鼠標在桌面上自動畫了起來 :)

更多信息請查看腳本欄目
易賢網手機網站地址:hta實現涂鴉效果代碼
由于各方面情況的不斷調整與變化,易賢網提供的所有考試信息和咨詢回復僅供參考,敬請考生以權威部門公布的正式信息和咨詢為準!

2026國考·省考課程試聽報名

  • 報班類型
  • 姓名
  • 手機號
  • 驗證碼
關于我們 | 聯系我們 | 人才招聘 | 網站聲明 | 網站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點 | 投訴建議
工業和信息化部備案號:滇ICP備2023014141號-1 云南省教育廳備案號:云教ICP備0901021 滇公網安備53010202001879號 人力資源服務許可證:(云)人服證字(2023)第0102001523號
云南網警備案專用圖標
聯系電話:0871-65099533/13759567129 獲取招聘考試信息及咨詢關注公眾號:hfpxwx
咨詢QQ:1093837350(9:00—18:00)版權所有:易賢網
云南網警報警專用圖標
主站蜘蛛池模板: 莫力| 平利县| 鲁甸县| 娄底市| 株洲县| 嘉峪关市| 任丘市| 沧源| 鹤庆县| 自贡市| 吕梁市| 剑阁县| 平顺县| 寻乌县| 涿州市| 炉霍县| 麟游县| 错那县| 平乐县| 平顶山市| 合水县| 富阳市| 抚顺市| 微山县| 尼木县| 济阳县| 临朐县| 通榆县| 新化县| 深水埗区| 千阳县| 武山县| 惠安县| 黔江区| 江永县| 苍山县| 宜都市| 北京市| 竹山县| 油尖旺区| 隆尧县|