2013-08-28 23:08:41 +00:00
|
|
|
var tooltip_delay = 500;
|
|
|
|
$(document).ready(function() {
|
|
|
|
if (!$.fn.tooltipster) {
|
2013-10-24 08:01:05 +00:00
|
|
|
$('.tooltip_interactive, .tooltip_image, .tooltip, .tooltip_gold').each(function() {
|
2013-08-28 23:08:41 +00:00
|
|
|
if ($(this).data('title-plain')) {
|
2013-11-02 08:01:09 +00:00
|
|
|
$(this).attr('title', $(this).data('title-plain')).removeData('title-plain');
|
2013-08-28 23:08:41 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
$('.tooltip_interactive').tooltipster({
|
|
|
|
interactive: true,
|
|
|
|
interactiveTolerance: 500,
|
|
|
|
delay: tooltip_delay,
|
|
|
|
updateAnimation: false,
|
|
|
|
maxWidth: 400
|
|
|
|
});
|
|
|
|
|
|
|
|
$('.tooltip').tooltipster({
|
|
|
|
delay: tooltip_delay,
|
|
|
|
updateAnimation: false,
|
|
|
|
maxWidth: 400
|
|
|
|
});
|
|
|
|
|
2013-09-09 08:00:52 +00:00
|
|
|
$('.tooltip_image').tooltipster({
|
|
|
|
delay: tooltip_delay,
|
|
|
|
updateAnimation: false,
|
|
|
|
fixedWidth: 252
|
|
|
|
});
|
|
|
|
|
2013-08-28 23:08:41 +00:00
|
|
|
$('.tooltip_gold').tooltipster({
|
|
|
|
delay: tooltip_delay,
|
|
|
|
maxWidth: 400,
|
|
|
|
updateAnimation: false,
|
|
|
|
theme: '.tooltipster-default gold_theme'
|
|
|
|
});
|
|
|
|
});
|