![linux](https://habrastorage.org/r/w120/webt/5a/81/01/5a8101e3c3bf7404834731.png)
Linux
1
Вклад в тег
<div> <img src="%url%" /> </div>
$html = file_get_contents("tpl/html.tpl");
$html = str_replace("%url%", $url, $html);
echo $html;
var height = $(document).height();
var limit = height -200;
var scrolltop = $(window).scrollTop();
$(window).on('scroll', function () {
if (scrolltop => limit){
//Здесь ваши действия
}
}