Well, then you need to download it by click, for example:
$('img[title]').live('click', function(event) {
$(this).qtip({
overwrite: false,
content: {
text: $(this).attr('title') ,
},
position: {
my: 'top center',
at: 'bottom center',
adjust : {
screen : true
}
},
show: {
event: event.type,
ready: true,
solo: true
},
hide: 'unfocus',
style: {
classes: 'ui-tooltip-light'
}
});
});
Check out my script: EXAMPLE
Using
adjust : {
screen : true
}
to save the tooltip on the screen.
Here you go . Click
$('img[title]').live('click', function(event) {
var content = $('#settings').clone();
$('input', content).val( $(this).width() );
$(this).qtip({
overwrite: false,
content: {
text: content,
title: {
text: ' ',
button: true
}
},
position: {
my: 'top center',
at: 'bottom center',
viewport: $(window)
},
show: {
event: event.type,
ready: true,
solo: true
},
hide: 'unfocus',
style: {
classes: 'ui-tooltip-ajax ui-tooltip-light'
}
});
});