淡入文字 [英] Fade In Text

查看:119
本文介绍了淡入文字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天有一个内存块而且我的生活似乎无法正确使用。


有人可以帮助我使用代码在页面后8秒内淡出文本已经装好了。


这就是我所拥有但我不希望它立刻出现。如何为文本淡入添加8秒延迟。??

I am having a memory block today and for the life of me cant seem to get it right.

Can someone help me with code to fade text in 8 seconds after the page has loaded.

This is what i have but i dont want it to appear straight away. How do i add an 8 second delay to the text fading in.??

展开 | 选择 | Wrap | 行号

推荐答案

只需使用[HTML]< body onload =" setTimeOut(''fade()'',8000)"> [/ HTML]同时将文字设置为白色。
Just use [HTML]<body onload="setTimeOut(''fade()'',8000)">[/HTML] Also set your text to be white initially.


为什么这不起作用?


我错过了一些非常明显的东西!!

Why does this not work??

Am I missing something very obvious!!

< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(this),true);>展开 | 选择 | Wrap | 行号


< body onLoad =" setTimeout(''fade()'',8000)">
<body onLoad="setTimeout(''fade()'',8000)">


这篇关于淡入文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆