[英]Fullpage js working fine localhost but not in live server
In my html code i'm using fullpage.js ,the web page is running fine on localhost but when i put all the files to server it's not running在我的 html 代码中,我使用 fullpage.js,网页在本地主机上运行良好,但是当我将所有文件放到服务器时,它没有运行
$(document).ready(function() {
if ($(window).width() > 768) {
$('#fullpage').fullpage({
menu: '#side-menu',
css3: true,
scrollingSpeed: 1500,
scrollBar: true,
recordHistory: false
});
}
else{
$.fn.fullpage.destroy('all');
}
});
Try this one it will work <script src="js/jquery.fullPage.js"></script>
试试这个它会工作<script src="js/jquery.fullPage.js"></script>
It's a matter of small/capital letters.这是小写/大写字母的问题。
Look at the network tab.查看网络选项卡。
The https://www.bluemasons.com/hiw/js/ jquery.fullpage.js was not found.该https://www.bluemasons.com/hiw/js/ jquery.fullpage.js没有被发现。
The file is not hosted on this domain.该文件未托管在此域中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.