需要字幕的代码 [英] Need code for marquee

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

问题描述

大家好,



需要Html鳕鱼自动在特定时间间隔后停止选框



有可能......



我也试过这种代码..



但是它有效当我单击停止按钮但是我需要在没有点击任何按钮的情况下自动停止选框后...

Hi all,

Need Html cod to stop the marquee after specific time interval automatically

Is it possible...

I alreay tried this kind of code..

but it works when i click the stop button only but i need to stop the marquee after

the specifted interval automatically without clicking any button...

推荐答案

看看这个...







http://www.quackit.com/html/codes/stop_marquee.cfm [ ^ ]



通过各种例子来看看。





这是你的解决方案:







Check this out...



http://www.quackit.com/html/codes/stop_marquee.cfm[^]

Go though various examples available in this.


Here is your solution :



<marquee behavior="scroll" direction="left" id="mymarquee">
<p>Go on... press the button!</p>
</marquee>
<input type="button" value="Stop Marquee" onClick="document.getElementById('mymarquee').stop();">
<input type="button" value="Start Marquee" onClick="document.getElementById('mymarquee').start();">


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

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