![javascript生日提醒飄浮窗_第1頁](http://file4.renrendoc.com/view/db05deb0ad04415b16eeaa4df83c11a0/db05deb0ad04415b16eeaa4df83c11a01.gif)
![javascript生日提醒飄浮窗_第2頁](http://file4.renrendoc.com/view/db05deb0ad04415b16eeaa4df83c11a0/db05deb0ad04415b16eeaa4df83c11a02.gif)
![javascript生日提醒飄浮窗_第3頁](http://file4.renrendoc.com/view/db05deb0ad04415b16eeaa4df83c11a0/db05deb0ad04415b16eeaa4df83c11a03.gif)
![javascript生日提醒飄浮窗_第4頁](http://file4.renrendoc.com/view/db05deb0ad04415b16eeaa4df83c11a0/db05deb0ad04415b16eeaa4df83c11a04.gif)
下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、javascript生日提醒飄浮窗 1、先編寫 shengritixing.js 程序:代碼如下:today=new Date();function initArray()this.length=initArray.arguments.lengthfor(var i=O;ivthis.length;i+)thisi+1=initArray.argumentsi以上顯示現(xiàn)在的時(shí)間var blist=new Array(11); 創(chuàng)建數(shù)組 blistvar i=0;blist0=new Array(”李林,1981,1-19); /創(chuàng)建數(shù)組 blist0并賦值blist1=new Array(小雪
2、,1981,1-19);blist2=new Array(周明,1981,1-16);blist3=new Array(李濤,1981,1-17);blist4=new Array(清清,1981,11-20);blist =new Array(張敏,1967,4-5);blist =new Array(李佳,1985,7-8);blist7=new Array(劉星,1978,6-5);blist8=new Array(張輝,1973,5-4);blist9=new Array(威姿,1966,12-12);blist10=new Array(莊碩,1977,10-23);blist11=n
3、ew Array(莊嚴(yán),1977,9-15);var t1=today.getMonth()+1;var t2=today.getDate();var t3=t1+-+t2var sname=;var m=0;for ( i=0;i); TOC o 1-5 h z document.writeln(”vdiv align=right);document.writeln(”vimgsrc=khal/shengri/close.gif hspace=6 border=0);document.writeln();document.writeln();document.writeln(vFONT fa
4、ce=方正姚體 color=#FCB9440size=5pt+sname+v/fontxFONT face=方正舒體 color=#ffOOOO size=5pt生日快樂! );document.writeln();objectdocument.writeln(););document.writeln(vparam name=movie value=shengri.swf);document.writeln(vparam name=quality value=highdocument.writeln();document.writeln(vembed src=shengri.swf quali
5、ty=highdocument.writeln(pluginspage= HYPERLINK /go/getflashplayer/ /go/getflashplayer););type=application/x-shockwave-flash width=398height=300 name=myFlash););document.writeln(v/objectdocument.writeln(v/div);swLiveConnect=truev/embeddocument.writeln( v/DIV/ Beginvar xPos = document.body.clientWidth
6、-20;var yPos = document.body.clientHeight/2;var step = 1;var delay = 2;var height = 0;var Hoffset = 0;var Woffset = 0;var yon = 0;var xon = 0;var pause = true;var interval;img.style.top = yPos;function changePos() width = document.body.clientWidth;height = document.body.clientHeight;Hoffset = img.of
7、fsetHeight;Woffset = img.offsetWidth;img.style.left = xPos + document.body.scrollLeft; img.style.top = yPos + document.body.scrollTop; if (yon) yPos = yPos + step;else yPos = yPos - step;if (yPos = (height - Hoffset) yon = 0;yPos = (height - Hoffset);if (xon) xPos = xPos + step;else xPos = xPos - st
8、ep;if (xPos = (width - Woffset) xon = 0;xPos = (width - Woffset);function start() img.visibility = visible;interval = setInterval(changePos(), delay);start();img.onmouseover = function。clearInterval(interval); interval = null;img.onmouseout = function() interval = setInterval(changePos(), delay);function closeme() document.getE
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 現(xiàn)代學(xué)生餐廳的照明與色彩搭配藝術(shù)
- 深度解讀網(wǎng)絡(luò)輿情的來源與影響研究報(bào)告解讀分享
- 現(xiàn)代金融行業(yè)中的移動(dòng)支付技術(shù)與教育普及
- 快手國慶節(jié)的活動(dòng)方案
- 國慶假期活動(dòng)方案
- 國慶節(jié)酒店漲價(jià)活動(dòng)方案
- 2、3、4的乘法口訣(說課稿)-2024-2025學(xué)年二年級上冊數(shù)學(xué)人教版
- Unit1 There is a horse in this photo(說課稿)-2024-2025學(xué)年外研版(三起)四年級上冊001
- 17《他們那時(shí)候多有趣啊》(說課稿)-2023-2024學(xué)年統(tǒng)編版語文六年級下冊
- 13 我能行(說課稿)-統(tǒng)編版(五四制)道德與法治二年級下冊
- 2025年廣州中醫(yī)藥大學(xué)順德醫(yī)院(佛山市順德區(qū)中醫(yī)院)招考聘用高頻重點(diǎn)提升(共500題)附帶答案詳解
- 2025年華僑港澳臺學(xué)生聯(lián)招考試英語試卷試題(含答案詳解)
- 2025-2030年中國美容院行業(yè)營銷創(chuàng)新戰(zhàn)略制定與實(shí)施研究報(bào)告
- 2024-2025學(xué)年北京石景山區(qū)九年級初三(上)期末語文試卷(含答案)
- 第一章 整式的乘除 單元測試(含答案) 2024-2025學(xué)年北師大版數(shù)學(xué)七年級下冊
- 2024人教版英語七年級下冊《Unit 3 Keep Fit How do we keep fit》大單元整體教學(xué)設(shè)計(jì)2022課標(biāo)
- 藥品流通監(jiān)管培訓(xùn)
- JD37-009-2024 山東省存量更新片區(qū)城市設(shè)計(jì)編制技術(shù)導(dǎo)則
- 中國高血壓防治指南(2024年修訂版)
- 北京市海淀區(qū)重點(diǎn)中學(xué)2025屆高考數(shù)學(xué)押題試卷含解析
- 2024EPC施工總包合同范本
評論
0/150
提交評論