The pop-up window and drag-and-drop effect (that is, popup. js) of the Baidu space are quite good, as shown in. Currently, many well-known websites use this technology.
Recently, during the project development process, the pop-up layer of pages that reference popup. js will cause the browser process to become stuck in IE6, while IE7, 8, FF, and Chrome are normal. As a result, the JavaScript code, Page code, and css Code began to troubleshoot the problem, and finally found that a piece of code in the css user-defined file conflicts with popup. js.
Reference content is as follows:
# Mycontrol
{
Margin: 2px 10px 0 10px;
Height: 25px;
Background: url (../images/horizontal_line.gif) repeat-x bottom;
Width: 100%;
Float: left;
} |
After you rename mycontrol, the page becomes normal.
Okay. If you encounter this kind of problem when using popup. js, I hope this blog will help you.