开发者

Need marquee text but in which we can stop on mouseover [closed]

开发者 https://www.devze.com 2022-12-11 13:04 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem o开发者_JAVA百科nly b
Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem o开发者_JAVA百科nly by editing this post.

Closed 8 years ago.

Improve this question

Can you please send it to me in jquery?


Try the marquee jQuery plugin.

$('#some-id').marquee().mouseover(function () { 
      $(this).trigger('stop');
   }).mouseout(function () {
      $(this).trigger('start');
   });


Why can't your use html marquee itself? Its very simple solution with plain javascript.

<marquee direction="left" width="750" height="25" scrollamount="3" scrolldelay="10" 
    onmouseover="this._scrollAmount='0'" onmouseout="this._scrollAmount='3'">
Website Hits crossed 1.1 Million, Since 1st March 2006.
</marquee>

Will this help?

0

精彩评论

暂无评论...
验证码 换一张
取 消