English 中文(简体)
引诱自动发射
原标题:Twitter feed autoscroll

我的网页上有一根嵌入的散射器,用户可以滚动,但我要自动进行。 我认为可以在法典中添加这一内容,但并不确定何时开始。 请帮助。

 <TwitterBox>
                    <Timeline
                        renderError={(_err) => <p>Could not load Twitter</p>}
                        dataSource={{
                            sourceType:  profile ,
                            screenName:  vehicle ,
                            width: "100%",
                        }}
                        options={{
                            height:  700 ,
                        }}


                    />
                </TwitterBox>
问题回答

我可以回答你的问题。 另一人提出该法典,因此该信贷将提供给此人。 这里,你可能希望尝试的法典。

scroll=window.setInterval(function(){window.scrollTo(0,document.body.scrollHeight);},1000);

Instructions

开放简介。 你们想把 b倒在你们的头上。 随后是开放式的——inpect要素+模式(在 Chromebrowser, 点击:www.kbd>cexl/kbd>+ >>-/kbd>, 以便进入检查模式,然后点击“m>console>/em>, 标出并贴出这一代号:

scroll=window.setInterval(function(){window.scrollTo(0,document.body.scrollHeight);},1000);

你们一旦进入时,就会看到一个比你所贴的编码线少的独特数字。 它可以是139、43、123,也可以是任何数目。 我们将利用这一数目,在我们达到这一形象之后,停止我们的发展,因为上述法典将甚至在你到达最后岗位时继续执行。

为了停止roll缩,只是复制了在 con里的以下代码,然后进入。 保证在你第一次进入时,用你在座的号码取代你。

clearInterval(your number here);

例:

clearInterval(3085);

“entergraph

While the other answer in this thread helped me a lot with this, I found it was better to use the scrollBy method, especially with options as it lets you adjust the behavior of the scroll.

scroll=window.setInterval(function(){window.scrollBy({
top: 10,
left: 0,
behavior: "smooth",});},100);




相关问题
Understanding Twitter API s "Cursor" parameter

I don t really get how to use the Curesor parameter in Twitter s API, for an exmaple - here. Am I supposed to make a new API call for each 100 followers? I d love it if someone could provide a PHP ...

Cannot get Twitter-OAuth-iPhone to work

demo works as expected, no problems. But now I m trying to integrate it into my project. I use no xib-s, code only: OAuthTwitterDemoViewController *vc = [[OAuthTwitterDemoViewController alloc] init]; ...

Creating a constantly updating feed like Twitter

I d like to have something in my app that is just like Twitter but not Twitter. Basically it will be a place people can submit messages and do not need an account. They only way they can submit is ...

RegEx: Link Twitter-Name Mentions to Twitter in HTML

I want to do THIS, just a little bit more complicated: Lets say, I have an HTML input: <a href="http://www.example.com" title="Bla @test blubb">Don t break!</a> Some Twitter Users: @...

twitter status update using tweetsharp oauth preview 17

I am trying to update the status using tweetsharp oauth preview 17. Please let me know how ?. I tried this code var msg = FluentTwitter.CreateRequest() .AuthenticateWith(_consumerKey, ...

How to test the twitter API locally?

I m trying to write a web application that would use Twitter via OAuth. I run my local server as localhost , so I need the callback URL to be something like http://localhost/something/twitter.do ...

Get follower count on Twitter API search results

What I m trying to do is pull some search results, and sort them by users. Right now I m using $to->OAuthRequest( http://search.twitter.com/search.json , array( q => search-term ), GET ); to ...

热门标签