18th November, 12:09
Hello,
I'm using qTip2 and one of my tooltip is in tag <div>. Inside that DIVi have a link which should open a nyroModal window (ajax page) but it's opening as simple page like target="_blank".
When i put that link outside the qTip its working.
and here is my content of that tip:
Thanks,
Serghey
Update: here is the DEMO of this issue http://jsfiddle.net/Ja9dN/
I'm using qTip2 and one of my tooltip is in tag <div>. Inside that DIVi have a link which should open a nyroModal window (ajax page) but it's opening as simple page like target="_blank".
When i put that link outside the qTip its working.
JS Code
$('.qTip').qtip({
content: {
text: function(api) {
return $(this).next('.qTipContent').clone();
}
},
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: 2000
},
});
and here is my content of that tip:
JS Code
<div class="qTipContent">
<p><strong>Upgrade</strong> or <a href="shopping-cart-1.html" class="modalBox">Join our club</a> to get ....
</div>
Thanks,
Serghey
Update: here is the DEMO of this issue http://jsfiddle.net/Ja9dN/