jQuery MiniUI

 找回密码
 立即注册
查看: 1605|回复: 1
打印 上一主题 下一主题

mini.open的问题 [复制链接]

Rank: 2

跳转到指定楼层
楼主
发表于 2017-1-11 15:17:10 |只看该作者 |倒序浏览
怎样在mini.open打开的页面标题上添加一个按钮,并且按钮出现在标题栏右边?

Rank: 8Rank: 8

沙发
发表于 2017-1-11 16:27:47 |只看该作者
http://www.miniui.com/demo/#src=panel/panel.html
和panel类似

<style>
    span.mini-tools-add
    {
        width:16px;height:16px;
        background:url(add.gif) no-repeat;
    }
    span.mini-tools-edit
    {
        width:16px;height:16px;
        background:url(edit.gif) no-repeat;
    }   
    span.mini-tools-remove
    {
        width:16px;height:16px;
        background:url(remove.gif) no-repeat;
    }        
    </style>

mini.open({
     url:"",
    buttons:"close collapse add edit remove ",
    onbuttonclicknbuttonclick
})

Archiver|普加软件

GMT+8, 2024-10-1 18:20 , Processed in 1.058801 second(s), 10 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部