allay,allay我的世界
生活知识 2023-05-10 17:05生活知识www.buyunw.cn
1、http://www.ik123.com/mp3-dj/ik123_10504.html 是什么歌
2、网站是不是有带特殊符号比如-10-grid.html里面有-,html结尾是不是伪静态的,静态的是不是不带-的。
你这个不是绝对的。静态的也可以-符号的3、关于LG ALLEY的问题
4、关于特效
文字特效自动变色的文字
<ponmousemove="hello()">欢迎访问网页特效梦工场天天工作室友情奉献</p>
<p><scriptlanguage="VBScript">
subhello
document.fgColor=int(256256256rnd)
endsub
</script></p>
超酷的文字特效[特别推荐][共2步]
====1、将以下代码加入HEML的<head></head>之间
<script>
<!--//
varx,y
vartimer
vari_fontsize=0
varstep=0
varthisx,thisy
functionhandlerMM(e){
x=(document.layers)?e.pageX:event.clientX
y=(document.layers)?e.pageY:event.clientY
}
functionringup(){
if(document.all){
thisx=x
thisy=y
ringup2()
}
}
functionringup2(){
if(i_fontsize<=1000){
document.all.ring.style.fontSize=i_fontsize
document.all.ring.style.color="rgb(255,"+Math.floor(i_fontsize/6)+","+Math.floor(i_fontsize/6)+")"
document.all.ring.style.posLeft=thisx-(Math.floor(i_fontsize/3))
document.all.ring.style.posTop=thisy-(Math.floor(i_fontsize/1.4))
step+=4
i_fontsize+=step
timer=setTimeout("ringup(2)",50)
}
else{
clearTimeout(timer)
i_fontsize=0
step=0
document.all.ring.style.posTop=-10000
}
}
document.onmousemove=handlerMM;
//-->
</script>
<style>
.ringstyle{
position:absolute;
visibility:visible;
top:-50px;
font-size:5pt;
font-family:Verdana;
color:FF0000
}
.explain{
position:absolute;
top:80px;
left:40px;
width:300px;
color:000000;
text-align:center;
font-size:20pt;
font-family:Times;
}
</style>
====2、将以下代码加入HEML的<body></body之间>
<divid="ring"class="ringstyle">
<p><fontcolor="#FF8080">:-)</font></p>
</div><divid="redirection"class="explain">
<p>移动你的鼠标到这里来看看<atarget="_blank"onMouseOver="ringup()"
onclick="window.open('download.htm','dl','width=300,height=100,top=0')"
href="http://qdjacky.126.com">是不是很棒的效果</a></p>
</div>
状态栏打字特效
<scriptLanguage="JavaScript">
varmsg="欢迎访问网页特效梦工场天天工作室友情奉献";
varinterval=100
varspacelen=120;
varspace10="";
varseq=0;
functionScroll(){
len=msg.length;
window.status=msg.substring(0,seq+1);
seq++;
if(seq>=len){
seq=0;
window.status='';
window.setTimeout("Scroll();",interval);
}
else
window.setTimeout("Scroll();",interval);
}
Scroll();
</script>
带链接的滚动字幕[修改名称及链接][共1步]
====1、将以下代码加入HEML的<body></body>之间
<scriptlanguage="JavaScript1.2">
//设置marquee的宽度(inpixels)
varmarqueewidth=400
//设置marquee的高度(inpixels,该参数只适用于NS)
varmarqueeheight=20
//设置marquee滚动的速度(数值大速度快)
varspeed=4
//设置marquee显示内容,使用标准的HTML语法。
varmarqueecontents='<strong><big>欢迎访问<ahref="http://qdjacky.126.com">梦想工作室</a>欢迎您光临<ahref="mailto:qdjacky@163.net">给我来封信!</a></big></strong></font>'
if(document.all)
document.write('<marqueescrollAmount='+speed+'style="width:'+marqueewidth+'">'+marqueecontents+'</marquee>')
functionregenerate(){
window.location.reload()
}
functionregenerate2(){
if(document.layers){
setTimeout("window.onresize=regenerate",450)
intializemarquee()
}
}
functionintializemarquee(){
document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>')
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.width
scrollit()
}
functionscrollit(){
if(document.cmarquee01.document.cmarquee02.left>=thelength(-1)){
document.cmarquee01.document.cmarquee02.left-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.left=marqueewidth
scrollit()
}
}
window.onload=regenerate2
</script>
<ilayerwidth=&{marqueewidth};height=&{marqueeheight};name="cmarquee01">
<layername="cmarquee02"></layer>
</ilayer>
彩虹文字特效
<scriptlanguage="JavaScript">
<!--Hide
functionMakeArray(n){
this.length=n;
for(vari=1;i<=n;i++)this[i]=i-1;
returnthis
}
hex=newMakeArray(16);
hex[11]="A";hex[12]="B";hex[13]="C";hex[14]="D";hex[15]="E";hex[16]="F";
functionToHex(x){
varhigh=x/16;
vars=high+"";
s=s.substring(0,2);
high=parseInt(s,10);
varleft=hex[high+1];
varlow=x-high16;
s=low+"";
s=s.substring(0,2);
low=parseInt(s,10);
varright=hex[low+1];
varstring=left+""+right;
returnstring;
}
functionrainbow(text){
text=text.substring(3,text.length-4);
color_d1=100;
mul=color_d1/text.length;
for(i=0;i<text.length;i++){
color_d1=255Math.sin(i/(text.length/3));"255Math.sin(i/(text.length/3))"
color_h1=ToHex(color_d1);
color_d2=muli;
color_h2=ToHex(color_d2);
document.write("<FONTCOLOR='#FF"+color_h1+color_h2+"'>"+text.substring(i,i+1)+'</FONT>');
}
}
//-->
</script>
<script>
<!--
{rainbow("-->欢迎访问网页特效梦工场天天工作室友情奉献<!--");}
//-->
</script>
永远在网页顶端的文字
<divid="KBStatic"style="position:absolute;left:0px;top:0px;width:200px;height:100px;z-index:25">
欢迎访问网页特效梦工场天天工作室友情奉献</div>
<scriptlanguage=JavaScript>
functionKB_keepItInIE(theName,theWantTop,theWantLeft){
theRealTop=parseInt(document.body.scrollTop)
theTrueTop=theWantTop+theRealTop
document.all[theName].style.top=theTrueTop
theRealLeft=parseInt(document.body.scrollLeft)
theTrueLeft=theWantLeft+theRealLeft
document.all[theName].style.left=theTrueLeft
}
functionKB_keepItInNN(theName,theWantX,theWantY){
theRealLay=document.layers[theName]
theBadX=self.pageYOffset
theBadY=self.pageXOffset
theRealX=theBadX+theWantX
theRealY=theBadY+theWantY
theRealLay.moveTo(theRealY,theRealX)
}
IE4=(document.all)?1:0
NN4=(document.layers)?1:0
if(IE4)
setInterval('KB_keepItInIE("KBStatic",0,0)',1)
if(NN4)
setInterval('KB_keepItInNN("KBStatic",0,0)',1)
</script>
阴影文字的特殊效果[适用于IE4++][共3种效果]
放在HTML的<body></body>区即可[适当的位置]
====1、第一种效果[修改要显示的文字即可]
<divstyle="width:350;font-size:15pt;font-family:Arial;color:red;position:relative;filter:
blur(add=1,direction=45,strength=3)">网页特效梦工厂</div>
====2、第二种效果[修改要显示的文字即可]
<divstyle="width:350;font-size:15pt;font-family:Arial;color:red;position:relative;filter:
glow(color=ffff00,strength=5)">网页特效梦工厂</div>
====3、第三种效果[修改要显示的文字即可]
<divstyle="width:350;font-size:15pt;font-family:Arial;color:red;position:relative;filter:
dropshadow(color=000000,offx=3,offy=3,positive=1)">网页特效梦工厂</div>
升降的文字特殊效果[修改显示的文字即可]
[根据下面的说明进行共1步]
====1、以下代码放在HTML的<body></body>之间[适当的位置]
<scriptLANGUAGE="JavaScript">
<!--
done=0;
step=4
functionanim(yp,yk)
{
if(document.layers)document.layers["napis"].top=yp;
elsedocument.all["napis"].style.top=yp;
if(yp>yk)step=-4
if(yp<60)step=4
setTimeout('anim('+(yp+step)+','+yk+')',35);
}
functionstart()
{
if(done)return
done=1;
if(navigator.appName=="Netscape"){
document.napis.left=innerWidth/2-145;
anim(60,innerHeight-60)
}
else{
napis.style.left=11;
anim(60,document.body.offsetHeight-60)
}
}
//-->
</script>
<divid="napis"
style="position:absolute;top:-50;color:#D23842;font-family:Arial,Helvetica;font-weight:bold;font-size:40px;">
<p>网页特效</p>
</div><scriptLANGUAGE="JavaScript">
<!--
setTimeout('start()',10);
//-->
</script>
波浪起伏的文字
<scriptlanguage="JavaScript">
functionmakeArray(n){
this.length=n
returnthis
}
functionhexfromdec(num){
hex=newmakeArray(1);
varhexstring="";
varshifthex=16;
vartemp1=num;
for(x=1;x>=0;x--){
hex[x]=Math.round(temp1/shifthex-.5);
hex[x-1]=temp1-hex[x]shifthex;
temp1=hex[x-1];
shifthex/=16;
}
for(x=1;x>=0;x--){hexstring+=getletter(hex[x]);}
return(hexstring);
}
functiongetletter(num){
if(num<10){returnnum;}
else{
if(num==10){return"A"}
if(num==11){return"B"}
if(num==12){return"C"}
if(num==13){return"D"}
if(num==14){return"E"}
if(num==15){return"F"}
}
}
functionrainbow(text){
varcolor_d1;
varallstring="";
for(i=0;i<text.length;i=i+2){
color_d1=255Math.sin(i/(text.length/3));
color_h1=hexfromdec(color_d1);
allstring+="<FONTCOLOR="+color_h1+"ff"+color_h1+">"+text.substring(i,i+2)+"</FONT>";
}
returnallstring;
}
functionsizefont(text){
varcolor_d1;
varallstring="";
varflag=0;
for(i=0,j=0;i<text.length;i=i+1){
if(flag==0){
j++;
if(j>=7){
flag=1;}}
if(flag==1){
j=j-1;
if(j<=0){
flag=0;}}
allstring+="<FONTSIZE="+j+">"+text.substring(i,i+1)+"</FONT>";
}
returnallstring;
}
document.write("<fontsize=5><CENTER>")
document.write("<BR><BR>")
document.write(sizefont("欢迎访问网页特效梦工场天天工作室友情奉献"))
document.write("</CENTER></font>")
</script>
图像特效
图片展示选择[很棒的图片展示脚本所有图片尺寸应该一致才好]
====1、以下代码放在HTML的<body></body>区即可
<CENTER>
<imgwidth=200height=223src="图片名字.jpg"name="x1">
</CENTER>
//以上是程序初始时显示的图片。
<FORM>
<CENTER>
<SELECTonChange="document.x1.src=options[selectedIndex].value">
<optionvalue="图片名字1.jpg">看看图片1</option>
<optionvalue="图片名字2.jpg">看看图片2</option>
<optionvalue="图片名字3.jpg">看看图片3</option>
<optionvalue="图片名字4.jpg">看看图片4</option>
</SELECT>
</CENTER>
</FORM>
图片的渐显播放[推荐][根据下面的说明进行共3步,修改图片的名称及路径即可]
第三步的top:120px;left:240px可以设定显示的位置
====1、将下面的代码插入到HEML的<head></head>之间
<scriptlanguage=javaScript>
<!--//
sandra0=newImage();
sandra0.src="image1.gif";
sandra1=newImage();
sandra1.src="image2.gif";
sandra2=newImage();
sandra2.src="image3.gif";
vari_strngth=1
vari_image=0
varimageurl=newArray()
imageurl[0]="图片名称1.gif"
imageurl[1]="图片名称2.gif"
imageurl[2]="图片名称3.gif"
functionshowimage(){
if(document.all){
if(i_strngth<=110){
testimage.innerHTML="<imgstyle='filter:alpha(opacity="+i_strngth+")'src="+imageurl[i_image]+"border=0>";
i_strngth=i_strngth+10
vartimer=setTimeout("showimage()",100)
}
else{
clearTimeout(timer)
vartimer=setTimeout("hideimage()",1000)
}
}
if(document.layers){
clearTimeout(timer)
document.testimage.document.write("<imgsrc="+imageurl[i_image]+"border=0>")
document.close()
i_image++
if(i_image>=imageurl.length){i_image=0}
vartimer=setTimeout("showimage()",2000)
}
}
functionhideimage(){
if(i_strngth>=-10){
testimage.innerHTML="<imgstyle='filter:alpha(opacity="+i_strngth+")'src="+imageurl[i_image]+"border=0>";
i_strngth=i_strngth-10
vartimer=setTimeout("hideimage()",100)
}
else{
clearTimeout(timer)
i_image++
if(i_image>=imageurl.length){i_image=0}
i_strngth=1
vartimer=setTimeout("showimage()",500)
}
}
//-->
</script>
====2、修改<body>语句为
<bodyonLoad="showimage()">
====3、将下面的代码加入到HEML的<body></body>之间
<divid="testimage"style="position:absolute;visibility:visible;top:120px;left:240px"></div
跟随屏幕移动的图像[推荐]修改图片名称和文字即可][共2步]
====1、将以下代码加入到HEML的<head></head>之间
<styletype="text/css">
#floater{
position:absolute;
left:500;
top:146;
width:125;
visibility:visible;
z-index:10;
}</style>
====2、将以下代码加入到HEML的<body></body>之间
<divID="floater"style="left:590px;top:158px">
<palign="center"><imgSRC="想要显示的图片.gif"alt="图片显示的文字"WIDTH="125"HEIGHT="60"><br>
<fontcolor="#FF8040">图片下面的文字</font></p>
</div><scriptLANGUAGE="JavaScript">
self.onError=null;
currentX=currentY=0;
whichIt=null;
lastScrollX=0;lastScrollY=0;
NS=(document.layers)?1:0;
IE=(document.all)?1:0;
<!--STALKERCODE-->
functionheartBeat(){
if(IE){diffY=document.body.scrollTop;diffX=document.body.scrollLeft;}
if(NS){diffY=self.pageYOffset;diffX=self.pageXOffset;}
if(diffY!=lastScrollY){
percent=.1(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
elsepercent=Math.floor(percent);
if(IE)document.all.floater.style.pixelTop+=percent;
if(NS)document.floater.top+=percent;
lastScrollY=lastScrollY+percent;
}
if(diffX!=lastScrollX){
percent=.1(diffX-lastScrollX);
if(percent>0)percent=Math.ceil(percent);
elsepercent=Math.floor(percent);
if(IE)document.all.floater.style.pixelLeft+=percent;
if(NS)document.floater.left+=percent;
lastScrollX=lastScrollX+percent;
}
}
<!--/STALKERCODE-->
<!--DRAGDROPCODE-->
functioncheckFocus(x,y){
stalkerx=document.floater.pageX;
stalkery=document.floater.pageY;
stalkerwidth=document.floater.clip.width;
stalkerheight=document.floater.clip.height;
if((x>stalkerx&&x<(stalkerx+stalkerwidth))&&(y>stalkery&&y<(stalkery+stalkerheight)))returntrue;
elsereturnfalse;
}
functiongrabIt(e){
if(IE){
whichIt=event.srcElement;
while(whichIt.id.indexOf("floater")==-1){
whichIt=whichIt.parentElement;
if(whichIt==null){returntrue;}
}
whichIt.style.pixelLeft=whichIt.offsetLeft;
whichIt.style.pixelTop=whichIt.offsetTop;
currentX=(event.clientX+document.body.scrollLeft);
currentY=(event.clientY+document.body.scrollTop);
}else{
window.captureEvents(Event.MOUSEMOVE);
if(checkFocus(e.pageX,e.pageY)){
whichIt=document.floater;
StalkerTouchedX=e.pageX-document.floater.pageX;
StalkerTouchedY=e.pageY-document.floater.pageY;
}
}
returntrue;
}
functionmoveIt(e){
if(whichIt==null){returnfalse;}
if(IE){
newX=(event.clientX+document.body.scrollLeft);
newY=(event.clientY+document.body.scrollTop);
distanceX=(newX-currentX);distanceY=(newY-currentY);
currentX=newX;currentY=newY;
whichIt.style.pixelLeft+=distanceX;
whichIt.style.pixelTop+=distanceY;
if(whichIt.style.pixelTop<document.body.scrollTop)whichIt.style.pixelTop=document.body.scrollTop;
if(whichIt.style.pixelLeft<document.body.scrollLeft)whichIt.style.pixelLeft=document.body.scrollLeft;
if(whichIt.style.pixelLeft>document.body.offsetWidth-document.body.scrollLeft-whichIt.style.pixelWidth-20)whichIt.style.pixelLeft=document.body.offsetWidth-whichIt.style.pixelWidth-20;
if(whichIt.style.pixelTop>document.body.offsetHeight+document.body.scrollTop-whichIt.style.pixelHeight-5)whichIt.style.pixelTop=document.body.offsetHeight+document.body.scrollTop-whichIt.style.pixelHeight-5;
event.returnValue=false;
}else{
whichIt.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY);
if(whichIt.left<0+self.pageXOffset)whichIt.left=0+self.pageXOffset;
if(whichIt.top<0+self.pageYOffset)whichIt.top=0+self.pageYOffset;
if((whichIt.left+whichIt.clip.width)>=(window.innerWidth+self.pageXOffset-17))whichIt.left=((window.innerWidth+self.pageXOffset)-whichIt.clip.width)-17;
if((whichIt.top+whichIt.clip.height)>=(window.innerHeight+self.pageYOffset-17))whichIt.top=((window.innerHeight+self.pageYOffset)-whichIt.clip.height)-17;
returnfalse;
}
returnfalse;
}
functiondropIt(){
whichIt=null;
if(NS)window.releaseEvents(Event.MOUSEMOVE);
returntrue;
}
<!--DRAGDROPCODE-->
if(NS){
window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);
window.onmousedown=grabIt;
window.onmousemove=moveIt;
window.onmouseup=dropIt;
}
if(IE){
document.onmousedown=grabIt;
document.onmousemove=moveIt;
document.onmouseup=dropIt;
}
if(NS||IE)action=window.setInterval("heartBeat()",1);
</script>
随机显示的背景图片[想别人每次看你页面时背景都不一样吗?][共1步]
====1、将以下代码加入HTML的<head></head>之间
<scriptLANGUAGE="JavaScript">
bg=newArray(2);//设定图片数量,如果图片数为3,这个参数就设为2,依次类推
bg[0]='bg1.gif'//显示的图片路径,可用http://
bg[1]='bg2.gif'
bg[2]='bg3.gif'
index=Math.floor(Math.random()bg.length);
document.write("<BODYBACKGROUND="+bg[index]+">");
</script>
永远居中的背景图片[推荐][共1步][修改图片名称]
====1、将以下代码加入HEML的<body></body>之间
<STYLETYPE="text/css">
<!--
BODY{background-image:URL(图片名称.gif);
background-position:center;
background-repeat:no-repeat;
background-attachment:fixed;}
-->
</STYLE>
鼠标感应渐显图片[平时很模糊的图片鼠标一放上就显示清楚]
[修改图片名称即可][共2步]
====1、将以下代码加入HTML的<head></head>之间
<scriptlanguage="JavaScript1.2">
functionmakevisible(cur,which){
if(which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=20
}
</script>
====2、将以下代码加入到HTML的<body><body>之间
<imgsrc="想要显示的图片.gif"style="filter:alpha(opacity=20)"onMouseOver="makevisible(this,0)"onMouseOut="makevisible(this,1)">
页面特效
十分棒的MIDI播放器[共2步](可根据相应的项目修改)
====1、将以下代码加入HTML的<head></head>之间
<ScriptLanguage="JavaScript">
<!--Hiding
song=newArray()
varx=0
song[1]="007主题曲之一"
song[2]="007主题曲之二"
song[3]="999朵玫瑰"
song[4]="X-档案主题曲"
song[5]="用心良苦"
song[6]="泰坦尼克主题曲"
functionprev(){
if(x>1)
{x--
document.midi.typein.value=song[x]
}
}
functionnext(){
varmax=song.length-1
if(x<max)
{x++
document.midi.typein.value=song[x]
}
}
functiongo(){
if(x!=0){
location.href='song'+x+'.mid'
//以上指定播放的是当前路径的midi文件,文件名分别是song1.mid-song6.mid//
}
}
functionstart(){
x=1
document.midi.typein.value=song[x]
}
functionend(){
x=song.length-1
document.midi.typein.value=song[x]
}
functioncls(){
document.midi.typein.value="选曲"
}
//DoneHiding-->
</Script>
====2、将以下代码加入HTML的<body></body>之间区
<BODYonload="cls()">
<FORMName="midi">
<INPUTNAME="typein"TYPE="text"SIZE="25"ALIGN=top><BR>
<fontsize=3>
<INPUTTYPE=ButtonValue="|<<"Align=leftonclick="start()">
<INPUTTYPE=ButtonValue="<<"Align=leftonclick="prev()">
<inputtype=Buttonvalue="PLAY"align=leftonClick="go()"name="Button">
<INPUTTYPE=ButtonValue=">>"Align=leftonclick="next()">
<INPUTTYPE=ButtonValue=">>|"Align=leftonclick="end()">
</font>
</FORM>
5、Gaye (Bbc Session 16/10/72) 歌词
6、跪求这支视频的歌曲名~~~http://sports.sina.com.cn/uclvideo/bn/2009-10-01/13123296.html)
上一篇:王晴个人资料,创造101王晴个人资料
下一篇:美国确诊,美国新增死亡病例