jQuery fullcalendar:contextmenu [英] jQuery fullcalendar: contextmenu

查看:350
本文介绍了jQuery fullcalendar:contextmenu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用jQuery.contextMenu:

http://abeautifulsite.net/blog/2008/09/jquery-context-menu-plugin



jQuery.fullcalendar 中,当我右键点击一个事件时,它是如何工作的?

解决方案 div>

我不知道contextmenu插件,但我认为你可以将它绑定到fullcalendar的 eventRender 事件上。对于事件,我遇到 dblClick 的问题。



这是我解决方案的一部分:

  eventRender:function (event,element){
element.bind('dblclick',function(){
dopbClickFunction(event,element);
.......


I want to use jQuery.contextMenu:

http://abeautifulsite.net/blog/2008/09/jquery-context-menu-plugin

In jQuery.fullcalendar when I right-click on an event how does it work?

解决方案

i don't know the contextmenu plugin but i think you can bind it on the eventRender event of fullcalendar. I have the problem with dblClick on an event.

This is a part of my solution:

eventRender: function(event, element) {
    element.bind('dblclick', function() {
    dopbClickFunction(event,element);
    .......

这篇关于jQuery fullcalendar:contextmenu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆