- 注册时间
 - 2013-9-6
 - 最后登录
 - 2014-5-21
 - 阅读权限
 - 10
 - 积分
 - 424
 - 精华
 - 0
 - 帖子
 - 120
  
 
 
 
   
 | 
factory 发表于 2014-1-23 15:08   
样式加了,图片有没有?路径对不对?  没有图片,就用IE的开发工具看按钮那个元素,路径到底对不对了 
 
 ...  
确实是,这三个span根本就没样式,所以看不见 
我在父页面这样写的: 
    <style> 
        span.mini-tools-add 
        { 
            width: 16px; 
            height: 16px; 
            background: url(../Win/images/add.gif) no-repeat; 
        } 
        span.mini-tools-edit 
        { 
            width: 16px; 
            height: 16px; 
            background: url(../Win/images/edit.gif) no-repeat; 
        } 
        span.mini-tools-remove 
        { 
            width: 16px; 
            height: 16px; 
            background: url(../Win/images/remove.gif) no-repeat; 
        } 
    </style> 
 
            var win = mini.open({ 
                url: "../Win/WindowDesign4.aspx?KeyWord=" + KeyWord + "&OperatorType=OpenRecord&KeyValue=" + WinID, 
                title: "窗体定义", width: "890px", height: "630px", 
                buttons: "add edit remove", 
                onload: function () { 
 
                }, 
                ondestroy: function (action) { 
 
                } 
            }); 
 
这样有问题吗? |   
 
  
 |