POPUP控件如何实现?
另外,要在POPUP控件中添加功能如添加一些DropDownList,label,textbox等控件应该怎么实现?

解决方案 »

  1.   

    <script language="javascript">
    var oPopup = window.createPopup();
    function rdl_doClick(){
    var oMessage=document.all("oMessage");
    with (oPopup.document.body) {
    style.backgroundColor="lightyellow";
    style.border="solid black 1px";
    innerHTML=oMessage.value;
    document.write("<a href='www.sohu.com'>sfsfsfsdfsdfsdfsdf</a>");
    }
    oPopup.document.body.attachEvent=("onunload",new Function("xxx()"));var oPopBody = oPopup.document.body;
      html='<input type=text> ';
      html+="<hr><a href='top.aspx'>sgsdgsgg</a>";
      html+='<li>';
      oPopBody.innerHTML = html;
    oPopup.show(oMessage.clientLeft+200,oMessage.clientTop+530,oMessage.clientWidth-2,oMessage.clientHeight*5);}下面是HTML:
    <INPUT style="Z-INDEX: 105; LEFT: 88px; WIDTH: 192px; POSITION: absolute; TOP: 360px; HEIGHT: 40px type="text" id="oMessage" size="26" oncontextmenu="rdl_doClick();"><INPUT style="Z-INDEX: 106; LEFT: 304px; WIDTH: 80px; POSITION: absolute; TOP: 360px; HEIGHT: 40px" type="button" value="Button" onclick="rdl_doClick();"></FONT> <INPUT style="Z-INDEX: 107; LEFT: 408px; WIDTH: 56px; POSITION: absolute; TOP: 368px; HEIGHT: 32px"type="button" value="Button" onclick="oPopup.hide();">
      

  2.   

    100MB asp和 asp.net空间 50/1年
    我看到了一个网站 100MB asp和 asp.net空间 现在促销,
    同学们可以做一个简单的个人网站用来找工作 ,
     支持 asp.net 一年才50元!不要错过哦!!!
    速度非常快,一般公司企业 足够用了!
    http://www.hi876.com 
    希望能对大家有帮助