如何通过点击< li>来激活HTML链接 [英] How to make the HTML link activated by clicking on the <li>

查看:91
本文介绍了如何通过点击< li>来激活HTML链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下标记:

I have the following markup:

展开 | 选择 | Wrap | 行号

推荐答案

为什么它应该工作?链接指向空锚。
why should it work? the links point to empty anchors.


当然,我在我的情况下将.html页面添加到锚点。


问题是为什么这个算法在一个.html页面上打开它们并试图从那里打开其他人。如果成功,它不允许在激活任何其他.html页面后返回到之前的.html页面
of course, I added .html pages to anchors in my case.

the question is why this algorithm doesn''t open them while being on one .html page and trying to open others from there. In case of success it doesn''t allow to return to previous .html page after activation of any other .html page



问题这就是为什么这个算法在一个.html页面上打开它们并试图从那里打开其他人的原因。如果成功,它不允许在激活任何其他.html页面后返回到之前的.html页面
the question is why this algorithm doesn''t open them while being on one .html page and trying to open others from there. In case of success it doesn''t allow to return to previous .html page after activation of any other .html page



你能详细说明吗?我根本不明白。

can you elaborate on that? I didn’t understand that at all.


这篇关于如何通过点击< li>来激活HTML链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆