简体   繁体   English

链接在Chrome和Firefox中不可点击,直到打开开发人员工具

[英]Links un-clickable in Chrome & Firefox until developer tools are opened

I'm doing some consulting for a site that is about to be redone, but still has to at least partially function in the mean time. 我正在为将要重做的网站做一些咨询,但在此期间仍必须至少部分起作用。 At the moment my biggest issue is that on some pages the links are not clickable in FF or Chrome when the page loads, but by some magic when I open the developer tools (f12) for either everything starts working. 目前,我最大的问题是,某些页面上的链接在页面加载时无法在FF或Chrome中单击,但是当我打开开发人员工具(f12)时,这一切都可以正常工作,这听起来有些不可思议。 Additionally, when the page initially loads trying to 'inspect element' does not work properly, but it works fine after the dev tools are open. 此外,当页面最初加载时尝试“检查元素”不能正常工作,但是在打开开发工具后它可以正常工作。 My best guess here is that there's something else on the page that's effectively 'covering up' the rest of the page, but I haven't been able to find it yet. 我最好的猜测是,页面上还有其他东西可以有效地“覆盖”页面的其余部分,但是我还没有找到它。 I've tried adding a z-index and playing with positioning to no avail, so if anyone has seen this before or has any thoughts I'd be most appreciative. 我尝试添加z-index并使用定位失败,因此,如果有人以前看过此书或有任何想法,我将不胜感激。

https://www.petermichaelfoundation.org/events.php?title=Upcoming+Events&type=2 and https://www.petermichaelfoundation.org/news.php?title=Foundation+News&id=1 are both good examples of the problem in action. https://www.petermichaelfoundation.org/events.php?title=Upcoming+Events&type=2https://www.petermichaelfoundation.org/news.php?title=Foundation+News&id=1都是很好的例子在行动。

Your table containing the content has z-index: -2 ; 您的包含内容的表的z-index:-2 ; As a result, it is being placed below the body. 结果,它被放置在身体下方。

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

相关问题 在Chrome,Firefox,Safari中使文本可点击 - Making text clickable in Chrome, Firefox, Safari 如何使用firefox开发人员工具清除或删除浏览器会话 - How to clear or delete a browser session with firefox developer tools 如何让Firefox Developer Tools在控制台中显示FirePHP消息? - How to make Firefox Developer Tools display FirePHP messages within console? Chrome开发者工具-是否可以检查当前文件名? - Chrome developer tools - is there a way to check current's file name? Chrome开发人员工具-控制台-您可以检查PHP变量吗? - Chrome Developer Tools - Console - Can you inspect a PHP var? 网站链接不适用于Google Chrome,但适用于Firefox - Website links not working on google chrome but work fine for firefox 如何使用firefox开发人员工具从PHP记录服务器端消息 - How to use firefox developer tools to log server side messages from PHP 禁用Zend开发人员工具 - Disable Zend Developer Tools 无法访问JavaScript中的PHP数组,已初始化为数组的javascript对象在chrome开发人员工具中最终为空 - Unable to access PHP array in javascript, javascript object initialized to array ends up empty in chrome developer tools 可点击的链接imagecreatefrompng - Clickable links imagecreatefrompng
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM