简体   繁体   English

Jquery HTML5 CSS3 需要帮助

[英]Jquery HTML5 CSS3 Help Needed

I am using a HTML5 CSS3 jquery template (vivid photo) that I have modified greatly and everything works GREAT on my computer(local host).... I also integrated colorbox jquery.我正在使用 HTML5 CSS3 jquery 模板(生动的照片),我已经对其进行了很大的修改,并且在我的计算机(本地主机)上一切正常......我还集成了 colorbox jquery。

However, as soon as I uploaded it to a server online, The popup javascript for the navigation menu is not working, and I believe on IE9, the bottom image bar is not loading...但是,一旦我将其上传到在线服务器,导航菜单的弹出窗口 javascript 就无法正常工作,而且我相信在 IE9 上,底部图像栏未加载...

Here it is: http://tinyurl.com/89lst8j这是: http://tinyurl.com/89lst8j

Any help?有什么帮助吗? I am not that good at programming, but I am good at trial and error and manipulation of scripts... I am just confused that if it works on my local host... it must be something with the online server that is not working right??我不太擅长编程,但我擅长试错和操纵脚本……我只是很困惑,如果它在我的本地主机上运行……那一定是在线服务器无法运行正确的??

Please help if you can, thanks!可以的话请帮忙,谢谢!

http://pritesh.info/vivid-photo-2/ Here was the template I modified which looks like it works... I just added more pop-up commands for several more navigational items and added colorbox... not much else between swapping content. http://pritesh.info/vivid-photo-2/这是我修改过的模板,它看起来很有效……我只是为更多导航项目添加了更多弹出命令,并添加了颜色框……没有其他在交换内容之间。

Looks like you have some javascript errors on line 95 in your functions.js on page load.页面加载时,您的 functions.js 中的第 95 行似乎有一些 javascript 错误。 This prevents any furhter execution of other javascript code on page load.这可以防止在页面加载时进一步执行其他 javascript 代码。 Probably this breaks your navigation menu popup.可能这会破坏您的导航菜单弹出窗口。

the footer navigation seems to not work in ie nor in firefox (expanded footer pane is empty).页脚导航似乎在 ie 和 firefox 中都不起作用(展开的页脚窗格为空)。 However, the navigation (image) bar is loading in both browsers, ff and ie9.但是,导航(图像)栏正在两种浏览器中加载,ff 和 ie9。

To test your websites in different browsers you may install IETester or a similar tool (eg spoon.net).要在不同的浏览器中测试您的网站,您可以安装 IETester 或类似的工具(例如 spoon.net)。 In Firefox you can use Firebug to look behind the scenes.在 Firefox 你可以使用 Firebug 查看幕后情况。

Off the topic but may be of interest for you: You do a lot of requests downloading more than 2MB which is quite a lot for an initial page load.题外话,但你可能会感兴趣:你做了很多下载超过 2MB 的请求,这对于初始页面加载来说是相当多的。 You could increase the performance of your site by reducing the amount of requests.您可以通过减少请求量来提高站点的性能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM