搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

When we are using jqxtooltip with the page having scrollbar, The jqxtooltip is misbehaving. Coul you please help on this?

more options

$( ".paneinput.jqxscrollbar" ).on("valuechanged", function (event) { var currValue = event.currentValue; var preValue = event.previousValue;


var a=$( ".paneinput .jqxscrollbar" ) var popups=$('.jqxtooltip');

for(var i=0;i
$( ".paneinput.jqxscrollbar" ).on("valuechanged", function (event) { var currValue = event.currentValue; var preValue = event.previousValue; var a=$( ".paneinput .jqxscrollbar" ) var popups=$('.jqxtooltip'); for(var i=0;i<popups.length;i++) { var popupdisplay=$(popups[i]).css('display'); if ((popupdisplay=="block")) { var gridid=$(popups[i]).attr('ID'); var x=$("#"+gridid).offset(); var y=x; y=x.top+(preValue-currValue)+"px"; var popupid="#"+gridid; $(popupid).css('top',y); var z=parseInt(y); if (z<93) { $(popupid).css('z-index',1); } else if (z>600) { $(popupid).css('z-index',1); } else if ((z>93)||(z<650)) { $(popupid).css('z-index',99999); } } var texts=$('.text'); for(var i=0;i<texts.length;i++) { var textid=$(texts[i]).attr('ID'); var textObj = $('#'+textid) textObj.jqxTooltip('close'); textObj.jqxTooltip('open'); var top = textObj.offset().top if((top>1892)||(top<1)) { textObj.jqxTooltip('close'); } } } }); The above code we are using

所有回覆 (1)

more options

This forum is intended for user support, not for web development issues. Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The contributors over there are more knowledgeable about web page development issues with Firefox. http://forums.mozillazine.org/viewforum.php?f=25 You'll need to register and login to be able to post in that forum.