- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
大家好,我必须对我的前任之一多年前创建的网站进行更新。幸运的是,平滑滚动无法加载其资源,实时网站仍在正常运行http://www.asla.org/greenroof/index.html
我还想补充一点,大约一个月前,当我上次在本地检查时,本地文件没有抛出任何错误。
我需要上传 index.html 文件以及新图像才能进行更新。我认为这不会改变或禁用实时网站的功能。
目前只是尝试让滚动在本地工作。这个光标 .cur 元素我在任何地方都找不到,所以我假设它是 jquery 库的一部分。
有什么想法吗?再次感谢。
这是我遇到的错误,我不知道如何解决这个问题。如有帮助,将不胜感激。
控制台
index.html
jqueryLoader.js 第 23 行和 109 行
jquery.tools.min.js 第 174 行
e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window);
这也是 CSS
服务器甚至没有控制台指定路径中的/cursor 目录
2015 年 3 月 25 日更新在本地 Web 服务器 MAMP 上设置时,本地站点滚动工作正常,不会返回任何错误。很奇怪,通过 file://访问该网站如何随机停止工作。
最佳答案
如果您只想进行本地测试,您可以通过 css 并重命名
background-image: url (../images/cursor/rightArrowoutline.png);
background-image: url (../images/cursor/curspr_arrow_right.cur)
background-image: url (../images/cursor/curspr_arrow_left.cur)
至
background-image: url ('http://www.example.com/greenroof/images/cursor/curspr_arrow_right.cur')
background-image: url ('http://www.example.com/greenroof/images/cursor/curspr_arrow_left.cur')
example.com 将是实时域的名称。
如果您在完成后想要一个生产就绪的文件,我会设置一个本地网络服务器。检查所有源文件并制作该网站的本地版本。
MAMP 的设置速度相当快。
http://en.wikipedia.org/wiki/MAMP
更新:3/10看起来光标位于服务器文件系统上的两个位置。您有两个包含文件的目录吗?
关于javascript - 滚动功能在本地禁用,但仍可在现场使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28970266/
我刚接触一个项目,开发人员仍然通过邮件发送文件来共享代码。我们正在使用 eclipse 和 cvs。 场外的开发人员将代码发送到现场进行审核,其他开发人员从那里的邮件中一一获取文件并在 Eclipse
我完成了 session 站点设计,现在应该创建数据库。但我不确定该使用哪种方法。我正在使用 Apache、PHP 和 MySQL。我有用户,每个用户都有输入和输出邮箱,每个用户都有一个好友列表。这是
我们的开发团队刚刚将一个应用程序从本地服务器迁移到实时站点。该应用程序利用可写入的远程数据库,并利用 MSQLi 和 PDO 方法获取数据并将数据推送到数据库。 更新 connect .inc 文件以
大家好,我想使用 java 连接到我网站上的数据库。我想知道我应该在 URL 中输入什么: cnt=DriverManager.getConnection(DB_URL, DB_UID,DB_PWD)
我不确定“硬失败”是否是正确的词,但这是我面临的问题。我花了相当长的时间来重现这个尽可能最小的例子,所以它是这样的: class BaseParameterizedType fun > getSpec
我希望有人能够帮助解决我遇到的问题。下面的代码管理我正在开发的网站上的音频播放器。这个想法是,用户可以单击静音按钮来切换网站上的声音,如果用户单击特定链接离开网站,则声音应该被静音(如果尚未静音)。
我在站点中使用 libcurl 进行身份验证。我用它制作了很多功能,例如: char *CheckLoginPass(char *login, char *pass) { //use curl_e
我正在创建一个社交媒体风格的网站,并使用 Meteor 和 MongoDB 创建帖子,其中包含 {{title}} 和 {{content}}一个 Accordion 菜单,标题在菜单的标题上,内容在
我昨天为一个网站写了一个小的桌面 package 器(它实际上只是加载一个网站),作为对 Electron 的一些练习,但我注意到以下事情: 通常应该(并且确实)在每个浏览器上工作的 Javascri
我的应用程序中有 WebView 。我可以在 IDE 中看到警告。“使用 setJavaScriptEnabled 会引入 XSS 漏洞”代码 webView.getSettings().setJav
我正在做一个多步骤表单,所有内容都在最后保存。在我的模型中,我有一个 m2m 复选框字段,并且我使用 django Sessions 来获取表单数据以在最后一步中显示它。 问题是当我提交最终表单时,m
我们已经实现了 WURFL 现场 Java 应用程序(使用 maven/servlet 实现的 berryapp),我们将其用于所有 Java 应用程序,只需在所有其他应用程序中调用该应用程序即可。由
我是一名优秀的程序员,十分优秀!