Show Posts
|
Pages: [1] 2 3 4
|
3
|
General Category / EasyUI for jQuery / Re: how to make tooltip click to show and click to hide
|
on: May 03, 2020, 06:27:01 AM
|
(function ($) { var hideMethod = $.fn.tooltip.methods.hide; $.extend($.fn.tooltip.methods, { hide: function (jq, e) { if (e) { return jq.each(function () { console.info($(this).data()); var tip = $(this).data('tooltip').tip; if (tip && tip.is(':visible')) { hideMethod.call($(this), $(this), e); } }); } } }); })(jQuery);
is this ok?
|
|
|
5
|
General Category / EasyUI for jQuery / Re: how to make tooltip click to show and click to hide
|
on: May 03, 2020, 06:20:11 AM
|
This is the code to fix this issue. Please put it to the page. (function($){ var hideMethod = $.fn.tooltip.methods.hide; $.extend($.fn.tooltip.methods, { hide: function(jq, e){ return jq.each(function(){ var tip = $(this).data('tooltip').tip; // Cannot read property 'tip' of undefined if (tip && tip.is(':visible')){ hideMethod.call($(this),$(this),e); } }) } }) })(jQuery);
|
|
|
13
|
General Category / EasyUI for jQuery / data-options with '
|
on: December 04, 2019, 01:35:48 AM
|
<input id="expectdonedate" type="text" class="easyui-numberspinner" style="width:95%" value="1" data-options="label:'Deliverer's Expected Completion Time',labelPosition:'top',min:1,max:700,buttonText:'Day(s)',buttonAlign:'right',required:true">
parser traslate " Deliverer's Expected Completion Time " to " Deliverer's Expected Completion Time " and return error
|
|
|
15
|
General Category / EasyUI for jQuery / Why change onload triger time?
|
on: October 30, 2019, 08:03:22 PM
|
in 1.8.5 if I use winodw to load a page with script , page's script will triger before onload function, but in 1.8.8 it runs after onload function , I used to reset window height by read window object’s scrollHeight in onload function,and now it seems impossible,becase in the page,there are some easyui items,if onload run first, those items have not parseed yet, the scrollHeight will be smaller then it should be.
|
|
|
|