为什么链接无法在我的网页上运行

时间:2022-08-04 03:50:29

I know this is sort of a please debug my code question, but I really don't know whats going on here.

我知道这是一个请调试我的代码问题,但我真的不知道这里发生了什么。

I just added the content to this page and now none of the external or internal links will work (eg you click on them and nothing happens). The Mega menu drop down works fine and I can click on links on it, but the links in the text dont work, and neither do any on the sidebars

我刚刚将内容添加到此页面,现在没有任何外部或内部链接可以工作(例如,您单击它们并且没有任何反应)。 Mega菜单下拉工作正常,我可以点击它上面的链接,但文本中的链接不起作用,并且侧边栏上都没有

Here is the page that is causing the problems

这是导致问题的页面

http://www.cookingisfun.ie/cookery-courses/course-details/101618/Guest-Chef-Diana-Kennedy-at-Kerrygold-Ballymaloe-Litfest

here is a similar page that has no issue.

这是一个没有问题的类似页面。

http://www.cookingisfun.ie/cookery-courses/course-details/101364/Guest-Chef-Lilly-Higgins

I can click the Back to CourseList button which I Can't on the first.

我可以点击Back to CourseList按钮,我不能在第一个按钮。

This is not just a problem with my machine, I have tried from another machine and an Iphone with same result.

这不仅仅是我的机器的问题,我已经尝试从另一台机器和具有相同结果的Iphone。

I can't see any javascript errors but I assume it is something to do with the plugin that marks the links as external though that plugin works elsewhere on my site.

我看不到任何javascript错误,但我认为它与插件有关,标记链接为外部虽然该插件在我的网站上的其他地方工作。

Any suggestions?

1 个解决方案

#1


1  

I guess you have some errors in your HTML code (wrong nesting of tags or something or you did not close a tag right). If I want to inspect the "Back to course button" with Firefox I get the following

我猜你的HTML代码中有一些错误(错误的标签嵌套或者你没有正确关闭标签)。如果我想用Firefox检查“返回课程按钮”,我会得到以下内容

为什么链接无法在我的网页上运行

It seems that the #content-blocks div is empty. Also the source code view of your page underlines me some tags red:

看来#content-blocks div是空的。此外,您网页的源代码视图还为我添加了一些红色标记:

为什么链接无法在我的网页上运行

Normally this means that there are some HTML errors. Here the output of the HTML validator: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cookingisfun.ie%2Fcookery-courses%2Fcourse-details%2F101618%2FGuest-Chef-Diana-Kennedy-at-Kerrygold-Ballymaloe-Litfest&charset=%28detect+automatically%29&doctype=Inline&group=0

通常这意味着存在一些HTML错误。这里是HTML验证器的输出:http://validator.w3.org/check?uri = http%3A%2F%2Fwww.cookingisfun.ie%2Fcookery-courses%2Fcourse-details%2F101618%2FGuest-Chef-Diana-肯尼迪-AT-Kerrygold-Ballymaloe-Litfest&字符集=%28detect +自动%29&DOCTYPE =内嵌&组= 0

#1


1  

I guess you have some errors in your HTML code (wrong nesting of tags or something or you did not close a tag right). If I want to inspect the "Back to course button" with Firefox I get the following

我猜你的HTML代码中有一些错误(错误的标签嵌套或者你没有正确关闭标签)。如果我想用Firefox检查“返回课程按钮”,我会得到以下内容

为什么链接无法在我的网页上运行

It seems that the #content-blocks div is empty. Also the source code view of your page underlines me some tags red:

看来#content-blocks div是空的。此外,您网页的源代码视图还为我添加了一些红色标记:

为什么链接无法在我的网页上运行

Normally this means that there are some HTML errors. Here the output of the HTML validator: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cookingisfun.ie%2Fcookery-courses%2Fcourse-details%2F101618%2FGuest-Chef-Diana-Kennedy-at-Kerrygold-Ballymaloe-Litfest&charset=%28detect+automatically%29&doctype=Inline&group=0

通常这意味着存在一些HTML错误。这里是HTML验证器的输出:http://validator.w3.org/check?uri = http%3A%2F%2Fwww.cookingisfun.ie%2Fcookery-courses%2Fcourse-details%2F101618%2FGuest-Chef-Diana-肯尼迪-AT-Kerrygold-Ballymaloe-Litfest&字符集=%28detect +自动%29&DOCTYPE =内嵌&组= 0