jQuery MiniUI

标题: mini.open的问题 [打印本页]

作者: 月夜守望    时间: 2017-1-11 15:17:10     标题: mini.open的问题

怎样在mini.open打开的页面标题上添加一个按钮,并且按钮出现在标题栏右边?
作者: felt    时间: 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
})




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2