$('a.tooltip').each(function(){
$(this).qtip({
content: { url: 'includes/qtip.php?'+$(this).attr('rel')+' #'+$(this).attr('div'), text:'loading...' },
show: { delay: 400},
hide: { fixed: true, delay: 200 },
position: {
corner: {
target: 'bottomLeft',
tooltip: 'right'
}
},
style: {
name: 'light',
width: 700
}
});
});
我喜欢 .tooltip 项目位于我网站的右侧面板上,但如果不是,则看不到它的完整,
tooltip:'right'
当它在其他地方时,我怎么能做到?我的意思是,我怎么知道?