欢迎访问宝鸡世纪网络官网,宝鸡网站建设已累计服务超过900家企业!  咨询热线:0917-3535180 3536690

10年建站历程,900家客户的选择,值得信赖!


宝鸡世纪网络网站设计:JS 淡入淡出的文本效果(2)

作者:紫陌      发布时间:2009-07-09      浏览:1846

62.9K


var tableheight=textheight
}
if (ie || ns6) {
var padding=parseInt(textborder)+3
content="

"
content+=""
content+=text[i_text]
content+="
"
}
else {
content="
"
content+=""
content+=text[i_text]
content+="
"

framecontent="

"
framecontent+=""
framecontent+="."
framecontent+="
"
framecontent+="
"
}
}

if (ie || ns6 || opera) {
if (ns6) {
textwidth-=2*textborder
textheight-=2*textborder
}
document.write("

")

if (!opera && !ns6 ) {
document.write("
")
document.write("
")
}

document.write("
")
document.write("
")

window.onload=changecontent
}

else if (ns4) {
document.write("")
document.write("")
document.write(framecontent)
document.write("
")
document.write("")
document.write()
document.write("
")
document.write("
")
window.onload=changecontent

}



0