谁能解释一下这段语句的意思function glowit(which){if (document.all.glowtext.filters[0].strength==2)document.all.glowtext.filters[0].strength=1elsedocument.all.glowtext.filters[0].strength=2}function glowit2(which){if (document.all.glowtex
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/15 21:54:50
谁能解释一下这段语句的意思function glowit(which){if (document.all.glowtext.filters[0].strength==2)document.all.glowtext.filters[0].strength=1elsedocument.all.glowtext.filters[0].strength=2}function glowit2(which){if (document.all.glowtex
谁能解释一下这段语句的意思
function glowit(which){
if (document.all.glowtext.filters[0].strength==2)
document.all.glowtext.filters[0].strength=1
else
document.all.glowtext.filters[0].strength=2
}
function glowit2(which){
if (document.all.glowtext.filters[0].strength==2)
document.all.glowtext.filters[0].strength=1
else
document.all.glowtext.filters[0].strength=2
}
function startglowing(){
if (document.all.glowtext&&glowtext.length){
for (i=0;i
谁能解释一下这段语句的意思function glowit(which){if (document.all.glowtext.filters[0].strength==2)document.all.glowtext.filters[0].strength=1elsedocument.all.glowtext.filters[0].strength=2}function glowit2(which){if (document.all.glowtex
你得把html代码页贴出来才能说清楚,以下是根据语法解释的,关联不到业务逻辑!
function glowit(which){ //此函数就是变换filters的strength属性值,如果是2,变成1,否则变成2
if (document.all.glowtext.filters[0].strength==2)
document.all.glowtext.filters[0].strength=1
else
document.all.glowtext.filters[0].strength=2
}
function glowit2(which){ //同glowit类似
if (document.all.glowtext.filters[0].strength==2)
document.all.glowtext.filters[0].strength=1
else
document.all.glowtext.filters[0].strength=2
}
function startglowing(){
if (document.all.glowtext&&glowtext.length){ //如果glowtext存在并且长度存在
for (i=0;i