css样式里设置 #myDIV{border:1px solid red;display:none;position:absolute;height...width...margin...} 当点击啥时,调用一个JS函数 onclick="showSth()" //以下是函数实现 function showSth(){ var dv = document.getElementById("myDIV"); dv.style.display= 'block'; } 就样就完事了,你看思想就行 默认是不显示框的,满足条件后用JS调出来 点击上面的按纽啦啥的,再隐藏起来就行了 好好做可以搞的很漂亮的,比弹出的强多了
------解决方案--------------------
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