open:
/application/modules/Activity/views/scripts/_activityComments.tpl
and add after:
this code:
/application/modules/Activity/views/scripts/_activityComments.tpl
and add after:
PHP Code:
<?php $this->headScript()
->appendFile($this->layout()->staticBaseUrl . 'application/modules/Activity/externals/scripts/core.js')
->appendFile($this->layout()->staticBaseUrl . 'externals/flowplayer/flashembed-1.0.1.pack.js') ?>
HTML Code:
<script type = "text/javascript"> var check_load_more_gum_clicked = new Date().getTime();; window.addEvent('domready', function() { window.addEvent('scroll', function() { var load_more_gum = (window.getScroll().y + window.getSize().y) > $('feed_viewmore_link').getPosition().y && $('feed_viewmore_link').offsetHeight > 1; var check_load_more_gum_now = new Date().getTime(); if ((check_load_more_gum_now - check_load_more_gum_clicked) > 5000) { if (load_more_gum) { check_load_more_gum_clicked = new Date().getTime(); document.getElementById("feed_viewmore_link").click(); } } }); }); </script>
Comment