Jquery 将完整日历右标题从按钮更改为列表项

Jquery 将完整日历右标题从按钮更改为列表项,jquery,html,css,fullcalendar,Jquery,Html,Css,Fullcalendar,我正在使用FullCalendar,我想做以下事情-请建议最好的方法: 我想把右头球换到最左边 当前,标题选项显示为内联块按钮。我想要 它们将显示为列表项。onclick功能应该 不受影响 我自己也弄明白了: 要添加新按钮,只需添加以下内容 $('.fc header right').append('Some Button') 要以垂直列表显示格式将所有标题右侧按钮与屏幕左侧对齐,需要将样式添加到fullCalendar.css .fc-header-right{ position:a

我正在使用FullCalendar,我想做以下事情-请建议最好的方法:

  • 我想把右头球换到最左边
  • 当前,标题选项显示为内联块按钮。我想要 它们将显示为列表项。onclick功能应该 不受影响

  • 我自己也弄明白了: 要添加新按钮,只需添加以下内容
    $('.fc header right').append('Some Button')

    要以垂直列表显示格式将所有标题右侧按钮与屏幕左侧对齐,需要将样式添加到fullCalendar.css

    .fc-header-right{
         position:absolute;
         left:0 ;
    }
    
    将类添加到按钮,并将样式添加到类

    .fc-header-right-button {
        position: relative;
        display: table;
        padding: 0 .6em;
        overflow: hidden;
        height: 1.9em;
        line-height: 1.9em;
        white-space: nowrap;
        cursor: pointer;
        margin-left: 50px;
    }
    

    我自己也弄明白了: 要添加新按钮,只需添加以下内容
    $('.fc header right').append('Some Button')

    要以垂直列表显示格式将所有标题右侧按钮与屏幕左侧对齐,需要将样式添加到fullCalendar.css

    .fc-header-right{
         position:absolute;
         left:0 ;
    }
    
    将类添加到按钮,并将样式添加到类

    .fc-header-right-button {
        position: relative;
        display: table;
        padding: 0 .6em;
        overflow: hidden;
        height: 1.9em;
        line-height: 1.9em;
        white-space: nowrap;
        cursor: pointer;
        margin-left: 50px;
    }