I have a jquery ajax call and I need to get the results into a qtip.
My Ajax call (to umbraco base)
jQuery("div.videoCardBack").mouseover(function (e) {
var getFormUrl = "/base/Popup/GetSessionPopup/" + this.id;
$.ajax({ url: getFormUrl, success: function (data) {
var result = eval("(" + data + ")");
$("#test").html("
var o = { left: e.pageX - 180, top: e.pageY - 80 };
$("#test").show(2000).offset(o);
}
});
});
The qtip
$('#verttabpanel a[rel]').each(function()
{
$(this).qtip(
{
content: {
text: '
url: $(this).attr('rel'),
title: {
text: 'TechReadyTV2 - ' + $(this).attr('alt'),
}
},
position: {
corner: {
target: 'bottomMiddle',
tooltip: 'topMiddle'
},
adjust: {
screen: true
}
},
show: {
delay: 900,
when: 'mouseover',
solo: true
},
hide: 'mouseout',
style: {
tip: true,
border: {
width: 0,
radius: 4
},
name: 'dark',
width: 570
}
})
});
});