这个函数,然后再贴出我要调用的地方: 
        ac( 
      //这是整个框的一个DIV 
            moduleFrame, 
      //这是我加的圆框的上半圆部分 
  ac(roundtop, 
  roundb1, 
  roundb2, 
  roundb3, 
  roundb4),   //这是框的主体内容显示的部分 
  ac(module, 
  ac( 
  header, 
  closer, 
  expand, 
  reload, 
  editit, 
  title), 
  editdiv, 
  content), 
  
  //这是框的底部半圆部分 
  ac(roundbottom, 
  roundb4, 
  roundb3, 
  roundb2, 
  roundb1) 
  ); 
  return moduleFrame; 

这段就是显示效果的啊 上,中,下3层会显示一个圆角框,现在就是只能显示下面部分的代码(出现的问题是覆盖了上面部分的)?该怎么解决才能完整显示一个圆角框啊

解决方案 »

  1.   

    我写了一个jquery版的,支持透明边框,可以定制边框颜色和透明度,也可以调圆角或方角{
    border:10,
    radius:10,
    color:'#222',
    opacity:0.1,
    type:'bevel',
    cls:null
    }
    支持jason参数,传了cls(class),color就会失效,这样做是为了方便动态换css文件
    type有三种:round,bite,bevel你的代码蛮复杂
      

  2.   

    效果
    http://www.entiweb.com/share.htm
      

  3.   

    其实的的物体关键不是出来CSS那块啊,是出在这个函数,然后再贴出我要调用的地方: 
            ac( 
          //这是整个框的一个DIV 
                moduleFrame, 
          //这是我加的圆框的上半圆部分 
      ac(roundtop, 
      roundb1, 
      roundb2, 
      roundb3, 
      roundb4),   //这是框的主体内容显示的部分 
      ac(module, 
      ac( 
      header, 
      closer, 
      expand, 
      reload, 
      editit, 
      title), 
      editdiv, 
      content), 
      
      //这是框的底部半圆部分 
      ac(roundbottom, 
      roundb4, 
      roundb3, 
      roundb2, 
      roundb1) 
      ); 
      return moduleFrame; 

    这里的问题啊,上半部分显示了,下半部分就不能显示,反之,上半部分不能显示