Home >Web Front-end >HTML Tutorial >The html user login prompt box pops up, similar to the effect of Baidu account login. Please help to take a look_html/css_WEB-ITnose

The html user login prompt box pops up, similar to the effect of Baidu account login. Please help to take a look_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:14:221984browse

http://zhidao.baidu.com/question/459243979.html?oldq=1


Reply to discussion (solution)

Click Dynamically create a div after the button, set the size and position, and then dynamically create a form on this div, with bed frame text and the like in from
Then try appendChild the created div to the body

Two A way. One is the one above
and the other one is:
First create a login DIV. . . Once everything is written, hide it. . Wait until you click to log in and then display the div.

Use plugins! You don’t need to develop this kind of thing yourself. There are many modal dialog boxes and jquery. For example simplemodal

Statement:
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