简体   繁体   English

Fullpage js 在本地主机上工作正常但不在实时服务器中

[英]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');
  }   
});

WEBSITE DEMO网站演示

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.

相关问题 javascript在localhost上工作正常,但在实时服务器上却不能 - javascript working fine in localhost but not on live server 图像未显示在服务器上,但在节点 js 中的 localhost 上工作正常 - Images not showing up on server but working fine on localhost in node js fullcalendar在localhost中工作正常,但在服务器中工作不正常 - fullcalendar is working fine in localhost but not in server $ .post和AJAX不能在服务器上运行,但在localhost中工作正常 - $.post & AJAX is not working on server, but working fine in localhost 在实时服务器上上传 nodejs 代码后抛出连接错误,但在本地主机上工作正常。 我正在使用 mssql 建立连接 - throwing connection Error after uploading the nodejs code on live server however working fine on localhost . I was using mssql to establish connection Ajax请求php在localhost上工作,但不在实时服务器上 - Ajax request to php working on localhost but not on live server Wow js 不适用于 Fullpage JS - Wow js is not working with the Fullpage JS React JS 应用程序链接在实时服务器上抛出错误 404 但在本地主机上工作 - React JS Application links throwing Error 404 on live server but working on localhost fullPage.js,scrollDelay无法正常工作 - fullPage.js, scrollDelay not working FullPage JS修复了背景不起作用 - FullPage JS Fixed Background Not Working
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM