我使用jqueryui模态窗体。和即时通讯使用jQuery的cluetip工具提示插件,但工具提示不工作在适当的方式对模态窗口形式..这是屏幕截图...模态窗口中的工具提示
明星显示的地方,工具提示必须在那里,箭头表示在刀尖露出来的地方..任何机构可以告诉我怎么算出这个.. Screen Shot http://img15.imageshack.us/img15/2808/78241472.png
编辑:有谁能够告诉我如何提高线索尖刀尖的Z指数...
我使用jqueryui模态窗体。和即时通讯使用jQuery的cluetip工具提示插件,但工具提示不工作在适当的方式对模态窗口形式..这是屏幕截图...模态窗口中的工具提示
明星显示的地方,工具提示必须在那里,箭头表示在刀尖露出来的地方..任何机构可以告诉我怎么算出这个.. Screen Shot http://img15.imageshack.us/img15/2808/78241472.png
编辑:有谁能够告诉我如何提高线索尖刀尖的Z指数...
这里我知道了...... thnsk朋友
$.fn.cluetip.defaults = { // set up default options
width: 275, // The width of the clueTip
height: 'auto', // The height of the clueTip
cluezIndex: 1970, // Sets the z-index style property of the clueTip
positionBy: 'auto', // Sets the type of positioning: 'auto', 'mouse','bottomTop', 'fixed'
topOffset: 15, // Number of px to offset clueTip from top of invoking element
leftOffset: 15,
当调用cluetip时,给它一个更高的z-index对话框(默认为1001),如下所示:
$(selector).cluetip({cluezIndex: '1020'});
的cluetip插件有一个cluetipClass
您可以提供。用它来设置一个你想要的z-index的类。
$('selector').cluetip({ splitTitle: '|', arrows: true, dropShadow: true,
cluetipClass: 'classWithHighZIndex', showTitle: false,
onActivate: activateFunction});