0
Почему рабочие точки jQuery не работают? Я прочитал их документацию, учебники все, и это `ы не работает мой полный код:Интеграция геодезических данных jQuery
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script src="jquery.waypoints.min.js"></script>
<script src="waypoint.js"></script>
<script>
$(function(){
var $counter = $('.counter');
$counter.waypoint(function(){
console.log('Waypoint!');
});
});
</script>
<style>
.space{
height:1200px;
background-color:yellow;
}
.counter{
height:200px;
background-color:red;
}
</style>
</head>
<body>
<div class="space"></div>
<div class="counter"></div>
</body>
</html>
Что такое 'waypoint.js' в этом примере? У вас уже есть сценарий jQuery, скрипт библиотеки Waypoints и JS, который использует Waypoints в теле. – imakewebthings