
以下为详细代码 一个利用select下拉选择框进行变色的网页效果 <form> <selectname=clronChange="document.bgColor=this.options[this.selectedIndex].value"> <opt阅读全文
以下为详细代码 一个javascript写的RGB的调色器,非常不错 <scriptlanguage="JavaScript"> <!--Hiding varred=0; vargreen=0; varblue=0; varvalue=0; varcon阅读全文
以下为详细代码 屏幕两种色彩左右像电影屏幕一样分开 <!--第一步:将下列代码复制到<head></head>之间:--> <style> <!-- .intro{ position:absolute; left:0; 阅读全文
以下为详细代码 当鼠标靠在某个字上时,背景也随之改变<palign="center"><br> <aHREFONMOUSEOVER="document.bgColor='lightslategray'">试</a><aHREF ONMO阅读全文
以下为详细代码 <SCRIPT> functioncols(c1,c2,c3,c4,c5,c6,c7){ this.c1=c1; this.c2=c2; this.c3=c3; this.c4=c4; this.c5=c5; this.c6=c6; t阅读全文
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="ht阅读全文
以下为详细代码 防止点击空链接时,页面往往重置到页首端 将<body>改成<bodyondragstart="window.event.returnValue=false"oncontextmenu="window.event.returnValue=false"ons阅读全文
以下为详细代码 把当前页面添加到当地收藏夹 <SCRIPTlanguage="JavaScript"> functionclick() { if(event.button==2) { window.external.addFavorite('http://free.阅读全文
以下为详细代码 在网页上禁止鼠标右键的方法(1) <SCRIPTlanguage="JavaScript"> functionclick() { if(event.button==2) { alert('右键不能用了!') } } document.onmou阅读全文
以下为详细代码 一个几个图片来回变幻的超炫的图片转换效果 <scriptlanguage="JavaScript1.1"> <!-- varslidespeed=2000 varslideimages=newArray("/UploadFiles/demo/001.j阅读全文
以下为详细代码 把代码“javascript:void(null)”代替原来的“#”标记 例如: 原来的代码: <ahref="#">点击链接看效果</a> 替换成: <ahref="javascript:void(null)">点击链阅读全文
以下为详细代码 设置自己个性的网页滚动条附详细介绍 1.overflow内容溢出时的设置(设定被设定对象是否显示滚动条) overflow-x水平方向内容溢出时的设置 overflow-y垂直方向内容溢出时的设置 以上三个属性设置的值为visible(默认值)、scroll、hidde阅读全文
用在后台编辑某条信息时,意外退出,提示是否直接退出。 以下为详细代码 一个非常实用的当你在关闭任何窗口时都作出提示[推荐] 效果就像现在有许多的大型网站,当你编辑一条信息时,突然关闭窗口,这时就会有一个弹出窗口,问是你是否要关闭一样,非常有用的弹窗效果 脚本说明:<FONTco阅读全文
以下为详细代码 非常漂亮的当前页面内容搜索代码 <script> varNS4=(document.layers); varIE4=(document.all); varwin=this; varn=0; functionfindInPage(str) { vart阅读全文
以下为详细代码 [当鼠标移到图片上时会发生梦幻般轮流变化的图片特效]共3步 1、将以下代码加入<head></head>之间 <style> .filter1{filter:revealTrans(Duration=2.0,Transition=2阅读全文
以下为详细代码 非??岬娜掌谑敝?,图片制作精美,还有日期显示脚本说明: 把如下代码加入<body>区域中 <STYLEtype=text/css>.light{ FILTER:Light } .date{ COLOR:#000000;FONT-FAMILY:阅读全文