将colorbox插件与jQuery JS结合使用可以在本地工作,但不能在服务器上工作

将colorbox插件与jQuery JS结合使用可以在本地工作,但不能在服务器上工作,jquery,jquery-plugins,colorbox,Jquery,Jquery Plugins,Colorbox,我知道我看多了一些东西,但正如那句话所暗示的,我不知道它是什么。我已经下载了最新的jquery和colorbox库。我已经将它添加到本地PC上的一个工作网页中,我想在其中添加javascript弹出窗口并使其正常运行。我正在使用颜色框为映射区域图像提供信息弹出窗口。在本地,一切正常,但当我将所有部分上传到我的互联网服务器时,所有点击都被忽略。现在我已经检查了样式表和Js库的权限和相对位置,所有这些都与其他工作部件相匹配。有问题的网页是 在“搜索栏”和“添加新内容”的几个区域中进行了编程。他们应该

我知道我看多了一些东西,但正如那句话所暗示的,我不知道它是什么。我已经下载了最新的jquery和colorbox库。我已经将它添加到本地PC上的一个工作网页中,我想在其中添加javascript弹出窗口并使其正常运行。我正在使用颜色框为映射区域图像提供信息弹出窗口。在本地,一切正常,但当我将所有部分上传到我的互联网服务器时,所有点击都被忽略。现在我已经检查了样式表和Js库的权限和相对位置,所有这些都与其他工作部件相匹配。有问题的网页是

在“搜索栏”和“添加新内容”的几个区域中进行了编程。他们应该工作,但不要

首先,我发现了一些错误,以查看我看到的内容(我将在一分钟后发布错误),尝试在Google Chrome中打开页面,然后按Ctrl+Shift+J打开调试控制台

第一个错误

第二个和第三个错误

上次错误


奇怪的是,js文件夹上的权限没有改变,网站正在使用其他Javascript,即菜单。我倾向于对权限有点严格。我没有给出read-just-execute,对于我的菜单js,它工作得很好,但是jQuery和colorbox.js文件需要为每个主体读取。谢谢没问题,这在安装新服务器时非常典型。只是为了将来要记住的东西。仅供参考,当我遇到这些错误时,我曾在两个不同网络上的两个不同系统上尝试过。正如我所说的,一旦jQuery拥有权限,$错误就会自动更正。还有一件事,只要再次检查您的链接,我仍然会在
win=window.open('detaillrg.html','Closeup','width=1300,height=640,top=10,left=20,
)这一行出现错误,或者至少应该关闭引号并使用连接。
//  Line 27 of detailedview.html
//  Uncaught Syntax Error: Unexpected token ILLEGAL
settings = "width=900, height=320, top=20, left=20, scrollbars=yes, location=no, 
           directories=no, status=no, menubar=no, toolbar=no, resizable=no, dependent=no";
//  2 possible issues here;
    //  1.) Your "string" is on 2 lines, try closing first line and puttin '+ "' on second line
    //  2.) variable not declared, try full rewrite as follows:
var settings = "width=900, height=320, top=20, left=20, scrollbars=yes, location=no, "
    + "directories=no, status=no, menubar=no, toolbar=no, resizable=no, dependent=no";
//  GET http://www.sowardssystemsconsulting.com/accounttracker/js/jquery-1.8.0.min.js 403 (Forbidden) 
//  GET http://www.sowardssystemsconsulting.com/accounttracker/js/jquery.colorbox.js 403 (Forbidden) 
//  This is a permissions error on your server
//  Try ensuring the folder where your js is has correct access permissions 
//  In filezilla, this may require right clicking the folder and setting the file permissions
//  Or your hosting site may have account manager tools with some kind of "Reset File Permissions" button.
//  Uncaught ReferenceError: $ is not defined 
//  If your fix the 2nd error, then this one will be corrected by default