按鈕的js樣式設(shè)置.doc_第1頁(yè)
按鈕的js樣式設(shè)置.doc_第2頁(yè)
按鈕的js樣式設(shè)置.doc_第3頁(yè)
按鈕的js樣式設(shè)置.doc_第4頁(yè)
按鈕的js樣式設(shè)置.doc_第5頁(yè)
已閱讀5頁(yè),還剩13頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1 定制打開窗口按鈕特效篇-定制打開窗口按鈕特效篇-定制打開窗口2 打開全屏窗口按鈕特效篇-打開全屏窗口按鈕特效篇-打開全屏窗口function OpenAllWindow()var targeturl=/NewWindow=window.open(,scrollbarsyes,toolbar=yes,location=yes,status=yes,menubar=yes)if (document.all) NewWindow.moveTo(0,0); NewWindow.resizeTo(screen.width,screen.height)NewWindow.location=targeturl3 隨意打開窗口按鈕特效篇-隨意打開窗口按鈕特效篇-隨意打開窗口function CustomizeWindow(form) var address = document.form1.url.value; var op_wid = document.form1.wid.value; var op_heigh = document.form1.heigh.value; var op_resize = (document.form1.resize.checked = true) ? 1 : 0; var op_dir = (document.form1.dir.checked = true) ? 1 : 0; var op_stat = (document.form1.stat.checked = true) ? 1 : 0; var op_menu = (document.form1.menu.checked = true) ? 1 : 0; var op_tool = (document.form1.tool.checked= true) ? 1 : 0; var op_loc_box = (document.form1.loc_box.checked = true) ? 1 : 0; var op_scroll = (document.form1.scroll.checked = true) ? 1 : 0; var option=toolbar=+ op_tool +,directories=+ op_dir +,location=+ op_loc_box +,status=+ op_stat +,scrollbars=+ op_scroll +,resizeable=+ op_resize +,menubar=+ op_menu +,width=+ op_wid +,height=+ op_heigh; var win3 = window.open(, how_are_u_doing, option); var win4 = window.open(address, how_are_u_doing);function ClearWindow(form) document.form1.wid.value=; document.form1.heigh.value=; 地址: : 快捷鍵 : 地址欄 : 鏈 接 : 狀態(tài)欄 : 調(diào)大小 : 滾動(dòng)條 : 菜 單 寬度: 高度: 4 返回默認(rèn)首頁(yè)按鈕特效篇-返回默認(rèn)首頁(yè)按鈕特效篇-返回默認(rèn)首頁(yè)function ReturnHomePage() if (document.layers) window.home() else window.location=/ 5 按頻道打開窗口按鈕特效篇-按頻道打開窗口按鈕特效篇-按頻道打開窗口function ChannelWindow()window.open(/,Channelmode,scrollbars) 6 顯示特殊效果按鈕特效篇-顯示特殊效果按鈕特效篇-顯示特殊效果 .down color:#FF99FF; background: #333300; font-style: italic .over color:#99FF66; background: #CC00CC 7 站點(diǎn)欄目跑馬燈按鈕特效篇-站點(diǎn)欄目跑馬燈按鈕特效篇-站點(diǎn)欄目跑馬燈if (!document.layers&!document.all) event=testfunction ShowTip(current,e,text)if (document.all&document.readyState=complete)document.all.ShowHideTip.innerHTML=+text+document.all.ShowHideTip.style.pixelLeft=event.clientX+document.body.scrollLeft+10document.all.ShowHideTip.style.pixelTop=event.clientY+document.body.scrollTop+10document.all.ShowHideTip.style.visibility=visibleelse if (document.layers)document.ShowHideTip.document.nstip.document.write(+text+)document.ShowHideTip.document.nstip.document.close()document.ShowHideTip.document.nstip.left=0currentscroll=setInterval(ScrollTip(),100)document.ShowHideTip.left=e.pageX+10document.ShowHideTip.top=e.pageY+10document.ShowHideTip.visibility=showfunction ScrollTip()if (document.ShowHideTip.document.nstip.left=-document.ShowHideTip.document.nstip.document.width)document.ShowHideTip.document.nstip.left-=5elsedocument.ShowHideTip.document.nstip.left=150function HideTip()if (document.all)document.all.ShowHideTip.style.visibility=hiddenelse if (document.layers)clearInterval(currentscroll)document.ShowHideTip.visibility=hidden 8 窗口開關(guān)按鈕特效篇-窗口開關(guān)按鈕特效篇-窗口開關(guān)function OpenWindow() onewindow=open(,NewWindow);function CloseWindow() onewindow.close(); 9 說(shuō)明浮動(dòng)條按鈕特效篇-說(shuō)明浮動(dòng)條按鈕特效篇-說(shuō)明浮動(dòng)條function DLinkOn(x)with(linkx)linkmessage.innerHTML=msg;linkmessage.style.top=dtop;linkmessage.style.left=dleft;linkmessage.style.background=bgcolor;linkmessage.style.visibility=visible;function DLinkOff()linkmessage.style.visibility=hidden;function Display(msg,bgcolor,dtop,delft)this.msg=msg;this.bgcolor=bgcolor;this.dtop=dtop;this.dleft=delft;var link=new Array();link0=new Display(力爭(zhēng)讓每個(gè)人都成為網(wǎng)頁(yè)特效的高手。,bisque,150,430)link1=new Display(起草于2002年7月,作者:饸饹面,bisque,190,430) 10 窗口按鈕按鈕特效篇-窗口按鈕按鈕特效篇-窗口按鈕 0 1 r 11 狀態(tài)欄信息按鈕特效篇-狀態(tài)欄信息按鈕特效篇-狀態(tài)欄信息function StatusMsg() var message=按鈕特效篇-狀態(tài)欄信息 window.status = message 12 按序點(diǎn)擊按鈕按鈕特效篇-按序點(diǎn)擊按鈕按鈕特效篇-按序點(diǎn)擊按鈕function SeqClickLink() var i, visStr, args, theObj; args = SeqClickLink.arguments; for (i=0; i(args.length-2); i+=3) visStr = argsi+2; if (document.all != null) if (visStr = show) visStr = visible; if (visStr = hide) visStr = hidden; theObj = eval(argsi+1); if (theObj) theObj.style.visibility = visStr; 13 查看源代碼按鈕特效篇-按序點(diǎn)擊按鈕按鈕特效篇-按序點(diǎn)擊按鈕function SeqClickLink() var i, visStr, args, theObj; args = SeqClickLink.arguments; for (

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論