Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/476.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript fullcalendar:使用相同的时间格式化事件_Javascript_Css_Fullcalendar - Fatal编程技术网

Javascript fullcalendar:使用相同的时间格式化事件

Javascript fullcalendar:使用相同的时间格式化事件,javascript,css,fullcalendar,Javascript,Css,Fullcalendar,在weekAgenda视图中,同时开始的fullcalendar 2事件如下所示: +--------+--------+ | | | | | | | +--------+ | | | | | | +-------------+ 你看,左边的比右边的宽很多。我希望它们有相同的宽度。就像这样: +--------+--------+ | |

在weekAgenda视图中,同时开始的fullcalendar 2事件如下所示:

+--------+--------+
|        |        |
|        |        |
|        +--------+
|             |
|             |
|             |
+-------------+
你看,左边的比右边的宽很多。我希望它们有相同的宽度。就像这样:

+--------+--------+
|        |        |
|        |        |
|        +--------+
|        |
|        |
|        |
+--------+

我该怎么做呢?

您可以在实例中使用
slotEventOverlap:false
选项


文档:

您能提供html代码吗?和css,如果需要的话。谢谢。西蒙,我在这里使用的日历小部件是。为了使用它,只有一行HTML,
,当然还有一堆js。在他们的网站上说,使用css文件作为日历已经过时了。相反,在js部分中只能设置一些属性,因此我使用:
height:680,eventBackgroundColor:'#fff',eventBorderColor:'#888'
。但是,似乎没有任何属性可用于更改2个并行事件的外观。