I have a very large complicated informative popup to display to multiple cells within the same column.
My initial attempt was to build an html page and display that within the 'content' option within qtip2's jquery. All I could find was inline HTML as an option for straight HTML. The CSS additionally needs to modified in the original qtip2 download because it does not allow options in jquery beyond certain dimensions.
My jquery:
function initAbbonamentiTable(){
var content = $('<div class="popup">' +
'<div class="title">' ); //etc really long inline HTML
$('.price-column').each(function(){
$(this).qtip({
content : content, //here is where i'd like to reference a partial instead
show: 'click',
position: {
my: 'top center', // Position my top left...
at: 'bottom center', // at the bottom right of...
target: $(this) // my target
},
style: {
classes: 'custom'
}
});
});
The most import line is to get this one correct, another try:
content: ("@@import('../components/some/file_location.html')");