请高手赐教:怎么实现点击一个连接后在本页面上层弹出一个表单,可填写内容并提交,请高手赐教如何实现。就这个页面:http://www.msup.com.cn/solutions/Team-Management点击页面左侧的 这个图片就能弹出那个效果。有高手知道他是怎么实现的吗?在线等待高手赐教!!!!

解决方案 »

  1.   

    在页面里先写一个隐藏的div
    然后div里写form表单就行了。然后点击按钮弹出div~·
      

  2.   


    怎么弹出DIV?能给个案例吗?
      

  3.   

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    </head><body>
    <div id="a" style="display:none; position:absolute; left:100px; top:100px; width:200px; height:200px; border:1px solid #000;">
         <form action="http://www.baidu.com">
             <table>
                 <tr>
                     <td><input type="text" /></td>
                    </tr>
                    <tr>
                     <td><input type="submit" value="submit" /></td>
                    </tr>
                </table>
            </form>
        </div>
    <input type="button" id="btn" value="click me" />
        <script>
    document.getElementById('btn').onclick = function(){
    document.getElementById('a').style.display = 'block';
    };
    </script>
    </body>
    </html>
      

  4.   

    <div id="sss" style="display: none"></div>
    sss.style.display ="none";层不显示
    sss.style.display ="";层显示
      

  5.   

    http://www.cnblogs.com/cloudgamer/archive/2010/10/11/AlertBox.html这里的效果可以实现弹出div。把表单写里面就行了。  可以下载下来,看源码,js直接引用吧。