By Darko on Saturday, 27 September 2014
Replies 5
Likes 0
Views 1.1K
Votes 0
Hi guys

We are building a new template which will sport a wire-frame you'd expect to find in a modern web applications very similar to Twitch for example.
However, we are going to have 50px tall fixed bar at the bottom of the page which will inevitably mean that we can not scroll the browser page to the very bottom.
Unfortunately, this is needed for event to kick in and fires the auto-load of the stream.

i have question and the suggestion.
First, the question.
Where is the script that "decides" when to fire up an autoload so i can change it per my requirements?

And now suggestion, though it might be too optimistic.
Can this event be fired when page is around 70-80% scrolled down?
This will in many cases initiate loading before user even reach the end of the page providing a better stream browsing experience
Ofcourse this can be potential problem with sites that have modules under component area, but hey, you can provide the backend configuration for it too.
Hello Darko,

The script that's responsible for auto loading when scrolling is located in /media/com_easysocial/scripts/site/stream/stream.js at line 61
·
Saturday, 27 September 2014 23:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark
·
Monday, 29 September 2014 11:03
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Monday, 29 September 2014 13:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Im not sure why do you referring to me as the founder of suburbans.org when im not.
I just work there

Thank you for your help.
·
Monday, 29 September 2014 23:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Not a problem at all It's been removed.
·
Monday, 29 September 2014 23:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post