帮我找一份完整的求爱 HTML代码
答案:1 悬赏:0 手机版
解决时间 2021-03-09 11:38
- 提问者网友:十年饮冰
- 2021-03-08 19:14
文章内容我自己写了
最佳答案
- 五星知识达人网友:迟山
- 2021-03-08 20:13
<html>
<head>
<title>我爱你</title>
<style type="text/css">
<!--
.STYLE1 {
font-size: 21px;
color: #FF00FF;
}
-->
</style>
</head>
<body>
<script language="JavaScript1.2">
var it=0
function initialize(){
mytext=typing.innerText
var myheight=typing.offsetHeight
typing.innerText=''
document.all.typing.style.height=myheight
document.all.typing.style.visibility="visible"
typeit()
}
function typeit(){
typing.insertAdjacentText("beforeEnd",mytext.charAt(it))
if (it<mytext.length-1){
it++
setTimeout("typeit()",100)
}
else
return
}
if (document.all)
document.body.onload=initialize
</script>
<table width="75%" border="0" align="center">
<tr>
<td align="center"><span class="STYLE1" id="typing" style="visibility:hidden" align="center">在这里输入你写好的文章
</span></td>
</tr></table>
</body>
</html>
<head>
<title>我爱你</title>
<style type="text/css">
<!--
.STYLE1 {
font-size: 21px;
color: #FF00FF;
}
-->
</style>
</head>
<body>
<script language="JavaScript1.2">
var it=0
function initialize(){
mytext=typing.innerText
var myheight=typing.offsetHeight
typing.innerText=''
document.all.typing.style.height=myheight
document.all.typing.style.visibility="visible"
typeit()
}
function typeit(){
typing.insertAdjacentText("beforeEnd",mytext.charAt(it))
if (it<mytext.length-1){
it++
setTimeout("typeit()",100)
}
else
return
}
if (document.all)
document.body.onload=initialize
</script>
<table width="75%" border="0" align="center">
<tr>
<td align="center"><span class="STYLE1" id="typing" style="visibility:hidden" align="center">在这里输入你写好的文章
</span></td>
</tr></table>
</body>
</html>
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯