0
A
回答
0
最後我明白了! :)
以下是如何通過qtip2更改fn-gantt-hint。打開js文件並搜索;
if (desc)
{
bar
...
}
return bar;
然後刪除或只是評論這個;
.mouseover(function(e){
var hint = $("<div class='fn-gantt-hint' />").html(desc);
$("body").append(hint);
hint.css('left', e.pageX);
hint.css('top', e.pageY);
hint.show();
})
.mouseout(function(){
$(".fn-gantt-hint").remove();
})
.mousemove(function(e){
$('.fn-gantt-hint').css('left', e.pageX);
$('.fn-gantt-hint').css('top', e.pageY+15);
});
與此;
bar.qtip({
content: desc,
position: {
my: 'top left',
target: 'mouse',
viewport: $(window), // Keep it on-screen at all times if possible
adjust: {
x: 10, y: 10
}
},
hide: {
fixed: true // Helps to prevent the tooltip from hiding ocassionally when tracking!
},
style: 'ui-tooltip-shadow'
});
然後你完成了! :)乾杯!一個有qtip2的甘特圖!通過分享插件和qtip2,向mbielanczuk信用!我愛你們! :))
相關問題
- 1. JQuery甘特圖 - 作爲值的變量
- 2. JFreeChart添加註釋到甘特圖
- 3. 的jQuery qtip提示插件
- 4. 如何qtip提示的jQuery
- 5. 如何使用DHTMLX甘特圖擴展甘特圖的日期顯示?
- 6. Quickbase甘特圖Jquery變化
- 7. JQuery的甘特圖 - 應用數據
- 8. javafx甘特圖
- 9. 甘特圖asp.net
- 10. 甘特圖
- 11. Google甘特圖
- 12. Qtip工具提示不起作用
- 13. AngularJS + Jquery甘特圖 - 多個圖表
- 14. 有CSS的煩惱與添加甘特圖表作爲JIRA報告
- 15. 如何使用jQuery創建類似於甘特圖的圖表?
- 16. 從不隱藏的jQuery qtip提示
- 17. 替代qTip(jQuery工具提示插件)
- 18. 如何將圖例添加到Kendo UI甘特圖?
- 19. Telerik的甘特圖
- 20. d3.js甘特圖
- 21. 互動甘特圖
- 22. JSP的甘特圖?
- 23. 甘特圖與R
- 24. Oracle ADF甘特圖
- 25. SAPUI5甘特圖官方示例不起作用
- 26. 甘特圖與總和Jquery - Laravel
- 27. qtip(jQuery插件顯示工具提示):試圖與它一起工作
- 28. 使用ggplot進行甘特圖模擬
- 29. 使用primefaces的交互式甘特圖
- 30. 顯示3 Prj任務的甘特圖