Home > Web Front-end > HTML Tutorial > Today I encountered a very strange li a click problem. _html/css_WEB-ITnose

Today I encountered a very strange li a click problem. _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:01:01
Original
1091 people have browsed it

... Well, today I was going to make a pop-up window.

The task assigned to me by the background php is very simple for me because it is very simple for me to do this. I have done it no less than three times. The key is to know the principle of pop-up windows.

Click .youkeli to pop up .youkelogin, click .close1 in the pop-up window to close the pop-up window and return to the page.

Of course the problem I am talking about is not here, but that I gave youkeli to li. As a result, when I clicked the close button, I couldn't close it and kept switching between black and non-black screens. I was speechless.

After trying for a long time, I finally found the reason, so I added the .youkeli class to A. The result was successful and can be closed.

I originally wanted to find an expert to solve it, but later I found out the reason myself.

The summary is that the click effect of li is always so bad. In addition, the href should be ###, a dead link, not #, which jumps to the top, so this is also a detail.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template