1、JS按钮特效源码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
2、=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
3、= 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
4、.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.op
5、en(address, how_are_u_doing);function ClearWindow(form) document.form1.wid.value=; document.form1.heigh.value=; 地址: : 快捷键 : 地址栏 : 链 接 : 状态栏 : 调大小 : 滚动条 : 菜 单 宽度: 高度: 4 返回默认首页按钮特效篇-返回默认首页按钮特效篇-返回默认首页function ReturnHomePage() if (document.layers) window.home() else window.location= 5 按频道打开窗口按钮特效篇-按频道打
6、开窗口按钮特效篇-按频道打开窗口function ChannelWindow()window.open( 6 显示特殊效果按钮特效篇-显示特殊效果按钮特效篇-显示特殊效果 .down color:#FF99FF; background: #333300; font-style: italic .over color:#99FF66; background: #CC00CC 7 站点栏目跑马灯按钮特效篇-站点栏目跑马灯按钮特效篇-站点栏目跑马灯if (!document.layers&!document.all) event=testfunction ShowTip(current,e,text
7、)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=visiblee
8、lse 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.Sh
9、owHideTip.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 窗口开关按钮特效篇-窗口开关按钮特效篇-窗口开关function OpenWindow() onewindow=open(,NewWindow);function CloseWindow() onewindow.close(); 9 说明浮动条
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1