mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-15 04:22:17 -05:00
31 lines
662 B
JavaScript
31 lines
662 B
JavaScript
|
$(function () {
|
||
|
$('.imdbstars').qtip({
|
||
|
content: {
|
||
|
text: function(event, api) {
|
||
|
// Retrieve content from custom attribute of the $('.selector') elements.
|
||
|
return $(this).attr('qtip-content');
|
||
|
}
|
||
|
},
|
||
|
show: {
|
||
|
solo: true
|
||
|
},
|
||
|
position: {
|
||
|
viewport: $(window),
|
||
|
my: 'right center',
|
||
|
at: 'center left',
|
||
|
adjust: {
|
||
|
y: 0,
|
||
|
x: -6
|
||
|
}
|
||
|
},
|
||
|
style: {
|
||
|
tip: {
|
||
|
corner: true,
|
||
|
method: 'polygon'
|
||
|
},
|
||
|
classes: 'qtip-rounded qtip-shadow ui-tooltip-sb'
|
||
|
}
|
||
|
});
|
||
|
});
|
||
|
|