Subversion Repositories My Stuff

Rev

Rev 13 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13 Rev 14
Line 7... Line 7...
7
# License: GPLv3
7
# License: GPLv3
8
# The full version of the licencse can be obtainted by visiting:
8
# The full version of the licencse can be obtainted by visiting:
9
# http://www.gnu.org/licenses/gpl.html
9
# http://www.gnu.org/licenses/gpl.html
10
#######################################################################*/
10
#######################################################################*/
11
$.fx.speeds._default = 1000;
11
$.fx.speeds._default = 1000;
-
 
12
$.ajaxSettings.cache = false;
12
$(document).ready(function() {
13
$(document).ready(function() {
13
        $('a.film_link').each(function() {
14
        $('a.film_link').each(function() {
14
                var $link = $(this);
15
                var $link = $(this);
15
                var $dialog = $('<div id="film_dialog"></div>')
16
                var $dialog = $('<div id="film_dialog"></div>')
16
                        .dialog({
17
                        .dialog({
Line 26... Line 27...
26
27
27
                $link.click(function() {
28
                $link.click(function() {
28
                        $('#overlay').show();
29
                        $('#overlay').show();
29
                        $('#ajax-indicator').show();
30
                        $('#ajax-indicator').show();
30
                        $dialog.load($link.attr('href')+' #film',function(){
31
                        $dialog.load($link.attr('href')+' #film',function(){
31
                              $('#ajax-indicator').hide();
-
 
32
                              $('#overlay').hide();
-
 
-
 
32
                  $('#ajax-indicator').hide();
-
 
33
                  $('#overlay').hide();
33
                              $dialog.dialog('open');
34
                              $dialog.dialog('open');
34
                        });
35
                        });
35
                        return false;
36
                        return false;
36
                });
37
                });
37
        });
38
        });