blob: 86f3f3cce8295b3b6f70935382050d4c444a7cc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
jQuery(document).ready(function($) {
var login = $("a[href='/login']");
login.attr('href', '#login');
login.fancybox();
$('.tooltip').tipsy({fade: true});
$('.tooltip.north').tipsy({fade: true, gravity: 's'});
$('.tooltip.east').tipsy({fade: true, gravity: 'w'});
$('.tooltip.west').tipsy({fade: true, gravity: 'e'});
$('form [title]').tipsy({fade: true, trigger: 'focus', gravity: 'w'});
setTimeout(function() {
$('.flash-message').fadeOut('slow', function () {
$('.flash-message').remove();
});
}, 2000);
});
function toggleCast() {
var table = $('#cast table');
if (table.css('display') == 'inline') {
table.css('display', 'none');
$('#cast > p > a').text('Cast ↓');
$('#castlink').css('display', 'none');
} else {
table.css('display', 'inline');
$('#cast > p > a').text('Cast ↑');
$('#castlink').css('display', 'inline');
}
return false;
}
|