October 1st, 2013, 02: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, 05: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, 07:04 AM
Originally Posted by priyankagound
Do you enter this code to the file?
I'm not too fluent in jQuery?
October 1st, 2013, 10:31 AM
In your HTML you have 2 tags that are not legal markup( span2 and span3).