静态平衡阀用在哪里:如何实现网页标题栏内容的闪烁

来源:百度文库 编辑:神马品牌网 时间:2024/05/09 08:58:15
就如http://www.ishuangcheng.com的标题栏一样??

<script language="JavaScript">
step=0
function flash_title()
{
step++
if (step==3) {step=1}
if (step==1) {document.title='◆◇◆ 河北胜芳双成家具厂 http://www.ishuangcheng.CoM ★'}
if (step==2) {document.title='◇◆◇ 河北胜芳双成家具厂 http://www.ishuangCheng.cOm ☆'}
setTimeout("flash_title()",200);
}
flash_title()
</script>

<script language="JavaScript">
step=0
function flash_title()
{
step++
if (step==3) {step=1}
if (step==1) {document.title='◆◇◆ 河北胜芳双成家具厂 http://www.ishuangcheng.CoM ★'}
if (step==2) {document.title='◇◆◇ 河北胜芳双成家具厂 http://www.ishuangCheng.cOm ☆'}
setTimeout("flash_title()",200);
}
flash_title()
</script>