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
http://zhidao.baidu.com/question/459243979.html?oldq=1
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