October 1st, 2013, 03:02 AM
Slow loading of Java methods with the scroll bar
There are circles from the beginning to the load side
Loaded into the circle was displayed when scrolling down
Is there a way?
This is my file
(remove + in url)
My desire is that you teach me how to infinite scroll the page to perform
October 1st, 2013, 06:34 AM
you can try it with jquery with the below link:
or with the below code:
var docViewTop = $(window).scrollTop();
var docViewBottom = docViewTop + $(window).height();
var elemTop = $(elem).offset().top;
var elemBottom = elemTop + $(elem).height();
return ((elemBottom <= docViewBottom) && (elemTop >= docViewTop));
Hope this helps.
October 1st, 2013, 08:04 AM
Originally Posted by priyankagound
Do you enter this code to the file?
I'm not too fluent in jQuery?
October 1st, 2013, 11:31 AM
In your HTML you have 2 tags that are not legal markup( span2 and span3).