VS2010中文U版下载地址(电驴)VS2010中文professional版下载(电驴)MSDN订阅用户传送门
我想在页面上实现拖拽控件并且控制其大小,内容。类似QQ空间里的自定义模块!
请各位大侠给点儿思路。

解决方案 »

  1.   

    jquery 拖动、控制大小,确认后保存这些参数到数据库。。
    访问的时候 读取。。
      

  2.   

    DIV中添加控件,拖动DIV实现大小控制
      

  3.   

    http://topic.csdn.net/u/20091213/23/39E072B0-DA4B-48E5-A20A-21DDBD0331BC.html
      

  4.   

    <script language=javascript>
    var cao_x,cao_y;function cao888() 
    {
    this.display=display; 
    }function display() 
    {
      document.write("<table align=center><tr><td><button style='width:100px;height:30px;font-size:12px;border:1px solid #A4B3C8;background-color:green;' type=button onclick=document.getElementById('cao1').style.display='block' onfocus=this.blur()>点击弹出</button></td></tr></table>");
      document.write("<div  id='cao1' style='font-size:12px;position:absolute;display:none;text-align:center;overflow:visible'>");
      document.write("<div style='position:absolute;top:expression((body.clientHeight-300)/2);left:expression((body.clientWidth-200)/2);width:200px;height:180px;background-color:#dbdbdb;border:1px solid #cccccc;'>");
      document.write("<table width=200 height=20 bgcolor=green onmousedown='cao_x=event.x-parentNode.style.pixelLeft;cao_y=event.y-parentNode.style.pixelTop;setCapture();' onmouseup='releaseCapture();' onmousemove='caoMove(this.parentNode)' style='cursor:move;'>");
      document.write("<tr align=center>");
      document.write("<td align=left>可拖动的弹出提示效果</td>");
      document.write("</tr>");
      document.write("</table>");
      document.write("<br><br>懒人图库<br>http://www.lanrentuku.com/<br><br><span style= cursor:hand onclick=this.parentNode.parentNode.style.display='none';>关闭</span>");
      document.write("  </div>");
      document.write("</div>");
    }
    function caoMove(obj)  //实现层的拖移
    {
      if(event.button==1)
      {
        var caoX=obj.clientLeft;
        var caoY=obj.clientTop;
        obj.style.pixelLeft=caoX+(event.x-cao_x);
        obj.style.pixelTop=caoY+(event.y-cao_y);
      }
    }
    </script>
    <script language=javascript>
    var mycao=new cao888();
    mycao.display();
    </script>
    <p>查找更多代码,请访问:<a href="http://www.lanrentuku.com" target="_blank">懒人图库</a></p>
      

  5.   

    分享:vs2010简体中文版下载链接(含中文msdn)  http://blog.csdn.net/wjhuangjin/archive/2010/05/29/5632593.aspx
      

  6.   

    我刚做完的,你看看吧http://xiaoguan1985.36jhw.dnscnc.com/