Javascript写的div布局.docVIP

  • 1
  • 0
  • 约3.38千字
  • 约 5页
  • 2017-06-10 发布于北京
  • 举报
Javascript写的div布局 yhm.NsLayout = function(paras) { this.paras = paras; this.events = new yhm.Delegate(); }; yhm.NsLayout.prototype.beginPos=-1; yhm.NsLayout.prototype.render=function() { var n = this.paras.name; var m=[div id=+n+_side class=emis-layout-border]; m.push(div id=+n+_n /div); m.push(div id=+n+_split style=height:4px;cursor:row-resize;/div); m.push(div id=+n+_s style=overflow:auto;/div); m.push(/div); yhm.render(m.join(),this.paras.renderTo); this.afterRender(); }; yhm.NsLayout.prototype.afterRender=function() { var n = th

文档评论(0)

1亿VIP精品文档

相关文档