Tôi đang cố gắng triển khai plugin sao và xa như tôi có thể thấy, tôi đã bao gồm tất cả các js cần thiết. Tuy nhiên, trong giao diện điều khiển công cụ dev tôi tiếp tục nhận được 'Uncaught TypeError: $ (...). Stellar không phải là một hàm'.
Đây là những gì tôi có trong các thẻ đầu:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UFT-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>QE | Welcome</title>
<link rel="stylesheet" href="css/foundation.css" />
<link rel="stylesheet" href="css/stuff.css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
<script src="js/jquery.stellar.js"></script>
<script src="js/scrip.js"></script>
<script src="js/jquery.nicescroll.js"></script>
Và đây là là scrip.js nộp rằng lỗi là đề cập đến:
$(document).ready(function() {
$(window).stellar();
});
$(document).ready(
function() {
$("html").niceScroll({
cursorcolor:"rgba(30,30,30,.5)",
zindex:999,
scrollspeed:100,
mousescrollstep:50,
cursorborder:"0px solid #fff",
});
});
Xin vui lòng giúp me
Trên tab Mạng của Trình tìm kiếm, bạn có chắc chắn tìm nạp tập lệnh 'js/jquery.stellar.js' chính xác không? – GregL
Có trạng thái js/jquery.stellar.js là '' Đã hoàn thành ' – Seb
Dữ liệu trả lời có phải là nội dung của tệp đó không? – GregL