FAQ Database Discussion Community


Trigger Click when in Near Viewport

javascript,jquery,ajax,scroll,infinite-scroll
I have a "Load More" button which is at footer. Now when i scroll my body and is just above #loadSomeMoreCrap i want to trigger runthisfunction();. Can anyone help me figure this out. I went through JScroll but didnt find my answer. Any help would be great Thanks. HTML <div...

Wordpress jetpack infinite scroll and Isotope

jquery,wordpress,jquery-isotope,jquery-masonry,infinite-scroll
At the moment i am busy creating a new wordpress template, where i try to implement Infinite-Scroll (which is part of "Jetpack") in combination with Isotope. The project Homepage is: http://184990.webhosting29.1blu.de/fashion/. This is my code for isotope: <script type="text/javascript"> jQuery(document).ready(function($){ var $container = jQuery('#content').isotope({ itemSelector: '.isotope-item', masonry: { columnWidth: '.isotope-item',...

infiniteScroll with pagerAddRows but Timeago only work for the repeat limit not more

xpages,infinite-scroll,timeago
I use the Timeago for Xpages and the inifinite scrolling Custom Control. If I use ones of them it is good. But if use both not good. The timeago only works on the entries in the repeatlimit. If I scrolling down the other one dont have a Timeago date. The...

Raty.js not loading once infinite scroll occurs in Rails

javascript,ruby-on-rails,haml,infinite-scroll,raty
I'm using the infinite scroll option from Masonry-rails and am implementing a rating system via Raty.js. When the first few pins show up, the average rating is shown, however, after infinite scroll, the new pins do not have average ratings. Attached is my index.html.haml. How do I allow raty.js to...

Is it possible to create a webpage with endless infinite scrolling?

infinite-scroll
I was curious to know if it was possible to create a website with infinite scrolling that was literally infinite--that is, if the user were to theoretically scroll down forever, that content would continuously be displayed. This content would be a repeated image (an image that is shown and then...

How to perform Infinite scrolling in android using Volley request

android,android-listview,android-volley,infinite-scroll
I have a listview in an activity which renders a list values obtained from the JSON response.I am successfully able to display list view the code is as shown below listView = (ListView) findViewById(R.id.list); adapter = new CustomListAdapter(this, productList); listView.setAdapter(adapter); pDialog = new ProgressDialog(this); // Showing progress dialog before making...

Complex continuous scroll loop

javascript,jquery,scroll,infinite-scroll
I have a code similar to: <div id='right-column'> <div id='results'> <div id='result1> <div class='main'></div> <div class='details'></div> </div> <!-- ... --> <div id='result50> <div class='main'></div> <div class='details'></div> </div> </div> </div> the total number of results depends of the ajax query, I insert all the results dynamically in one go. div.main is...

Infinite Scroll: show elements between a range

jquery,range,infinite-scroll
On my page I have 16 elements. Initially only 4 are showing and the rest 5-16 are hidden on the page. On page load I am using the :gt selector to hide everything beyond my 'post per page' number which is set to 4. this.ppp = 4; this.count = this.ppp...

Adding items to Endless Scroll RecyclerView with ProgressBar at bottom

android,recyclerview,infinite-scroll,android-recyclerview
I followed Vilen's excellent answer on SO: Put an indeterminate progressbar as footer in a RecyclerView grid on how to implement an endless scroll recyclerview with ProgressBar. I implemented it myself and it works but I would like to extend the example. I want to add extra items at the...

Why my “pull down to load data” stuck at page 2 without loading anymore data

ios,uitableview,swift,uiscrollview,infinite-scroll
Is there a theory about reloading new data by appending old data with new from json?I am having problem with solving that case.I used this infinite uitableview to reload more data from my api json string.My Api give me back the results base on page no. My json header include...

Bind Infinite Scroll + Masonry plugins

jquery,html,jquery-masonry,infinite-scroll
I would like to use infinite scroll and Masonry plugins to display my pictures. However I'm completely stuck with the HTML part. I use the code below to bind the two plugins but I don't know how to display my html class .navigation and .nav-previous a in the dom to...

How to preload every page with Infinite AJAX Scroll?

javascript,infinite-scroll,preloader
I made a website using Infinite Ajax Scrolling: <script type="text/javascript"> if($(window).width() >= 600){ //activate ias scrolling for windows bigger than 600px var ias = $.ias({ container: "#base-container", item: ".item", pagination: "#pagination", next: ".next a", delay: 1500 }); ias.extension(new IASSpinnerExtension({ src: 'bundles/spinner.gif' })); ias.extension(new IASTriggerExtension({ offset: 100, text: 'Load more' }));...

ISupportIncrementalLoading doesn't stop after navigating away

c#,xaml,windows-phone-8,infinite-scroll
I suddenly found a strange behavior of collection implementing ISupportIncrementalLoading. Let's say we have a main page with ISupportIncrementalLoading collection bound to ListView. And we have another page where we can navigate to. When navigating to main page, the ISupportIncrementalLoading starts loading items until ListView thinks it's enough. I navigate...

Scraping infinite scrolling website with Selenium in Python

python,selenium,web-scraping,infinite-scroll
I would like to scrap the content of this website that has scrolling: http://stocktwits.com/symbol/AAPL?q=AAPL I found this answer for a similar question in Stactoverflow: scrape websites with infinite scrolling and here is the code copied from there: from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from...

What does infinite-scroll-immediate-check do in ngInfiniteScroll?

javascript,angularjs,infinite-scroll,nginfinitescroll
The documentation: infinite-scroll-immediate-chec (optional) - {boolean} - A boolean expression that indicates that the directive should check immediately to see if a scroll event would trigger an evaluation of the infinite scroll expression even if a scroll event does not occur. Useful if it's possible that the content inside the...

Infinite Scroll causes jump to top of screen on fast scrolling

javascript,angularjs,infinite-scroll,nginfinitescroll
I'm using the ng-infinite-scroll Angular directive on my site and it works well overall. However, while testing I noticed if I scroll quickly the page jumps back up toward the top. Below is my html and my scrolling function. I believe the issue lies with how $scope.busy is handled: html:...

Cannot use InfiniteScroll feature of ui-grid

angularjs,infinite-scroll,angular-ui-grid
Trying to use, without success, infinite scrolling feature of ui-grid. Both 3.0.0-v16 and current unstable script version (released 2 days ago) were used. I'm following the example of http://ui-grid.info/docs/#/tutorial/212_infinite_scroll . When ui-grid calls $scope.gridOptions.onRegisterApi(gridApi) method, the injected gridApi object does not have a infiniteScroll member. Indeed, the following line gridApi.infiniteScroll.on.needLoadMoreData($scope,...

Smooth Infinite Scrolling Banner [CSS Only]

css,css3,css-transitions,css-animations,infinite-scroll
Looking to optimize this infinite scrolling effect, however I'm not entirely sure how to create a smooth transition when looping back to the original image. At 10s it's hardly noticeable, however at 30s it's more evident. I'm assuming it has something to do with the ending position margin, but can't...

Load PHP Session through AJAX?

php,jquery,ajax,session,infinite-scroll
I want to create an infinite scroll using an AJAX script I found on the web to load my PHP page when it reaches bottom. The first page will use a session that will be printed by the php page which loads through ajax. I've succeeded in doing so but...

Rails & JS : Infinite Scrolling

jquery,ruby-on-rails,coffeescript,pagination,infinite-scroll
I've followed this tutorial to transform my index page in an infinite scrolling. But the result is that I have some pagination buttons instead of an infinte scrolling So this is my code : index.html.erb - <div id="my-annonces">    <%= render @annonces %> </div> <div id="infinite-scrolling">    <%= will_paginate %>...

Why can't my page controller scroll infinitely backwards?

ios,objective-c,uipageviewcontroller,infinite-scroll
I have created a page controller that has three view controllers that can scroll infinitely forward (eg: 1 -> 2 -> 3 -> 1 -> etc) however when I am on the first view controller and try to scroll backwards it goes to a white screen and doesn't scroll backwards...

Black Stripes below Masonry Items

wordpress,infinite-scroll,masonry,imagesloaded
Hej, I'm facing problems in my masonry project: Oliver Rath There is an unintended black stripe below each item, please have a look at the screenshot: I already tried the usual suggestions, such as manipulating the display or the padding value. Does anyone know hot to get rid of this?...

QtQuick2 - QML - create infinite moving line animation

javascript,animation,qml,infinite-scroll,qtquick2
Does anyone know how to implement linear animation, for example like in progress bars, where few of lines moving infinite in the bar from left to right or any other way? I'm going to use only QtQuick2 primitives and without any additional C++ components, glad to see any answers that...

C# Selenium - Finding Element On Continuously Growing Page

c#,selenium,selenium-webdriver,webdriver,infinite-scroll
I am trying to find a better way to do this than using: js.ExecuteScript("scroll(0, 1300)"); I have a page where the data can change making the page height change up or down in size. So when I go to click on an element today that is located at 1500px, tomorrow...

Infinite looped vertical slider with no pause

javascript,jquery,slideshow,infinite-scroll,vertical-scrolling
I wrote a script setInterval(function(){ $('#vslides').animate({ top: "-=1960" }, 60000, function(){ $('.vslide:last').after($('.vslide:first')); $('#vslides').css('top', '0px'); }); }, 60000); It works nice, scrolls the almost 2000px image in a minute, but, at the end it stops. I need it to continue to the next image (same image, just repeated) and keep going......