qTip2を使用しており、ツールチップの 1 つがタグ DIV にあります。その DIV 内に、 nyroModalウィンドウ (ajax ページ)を開くリンクがあります。target="_blank"
. _
これがライブデモです: http://jsfiddle.net/Ja9dN/2/
HTML:
<div style="margin:50px 0 0 50px">
<span class="qTip">Hover to see the Tooltip with Content</span>
<div class="qTipContent">...<a href="http://craigsworks.com/projects/qtip2/" class="modalBox">This link</a> opens nyroModal window only once ... </div>
<p> </p>
<p><a href="http://craigsworks.com/projects/qtip2/" class="modalBox">This link open window</a></p>
</div>
JS:
$('.qTip').qtip({
content: {
text: function(api) {
return $('.qTipContent');
}
},
position: {
my: 'bottom center',
at: 'top center',
adjust: {y: 0 }
},
style: {
classes: 'ui-tooltip-light ui-tooltip-shadow ui-tooltip-rounded',
width: 390
},
hide: {
delay: 250,
fixed: true
}
});
$(".modalBox").nyroModal();
ありがとう
解決済み:
コンテンツ呼び出しを次のように変更しました:
content: {
text: $('.qTipContent')
},