Changeset 4659 for extensions/Juza/js


Ignore:
Timestamp:
Jan 10, 2010, 4:38:45 PM (14 years ago)
Author:
vdigital
Message:

[Update] For Juza - Juza Theme is full working (On Standard Piwigo Gallery).

Recommended organization: Don't mixed Pictures and subcategories in a category.
Next step - Response time checking.
To see I will raise a locked gallery.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Juza/js/juzascript.js

    r4537 r4659  
    1111        $('.thumbnailCategories li').addClass('Juza-cat');
    1212        $('.description li').removeClass('Juza-cat');
     13        $('.thumbnailCategory div.description').addClass('Juza-desc');
     14        $('td.JS_active').show();
    1315  $nav = $('#content .navigationBar').html();
    1416        if ($nav == null) $nav = '';
     
    4345          $('#menubar').toggleClass('displayed');
    4446        });
    45         //$('span#updateRate').parent('table').eq(0).show().children('td').hide();
    46         //$('span#updateRate').parent('td').eq(0).show();
     47
     48  var $c = $('#Juza_call').html();
     49  $('#menubar a[href*="admin.php"]').parent('li').eq(0).after('<li>'+$c+'</li>');
     50  $('#menubar form#Juza_action input.Juza_conf').hide();
     51  $('#menubar form#Juza_action').hide();
     52  $('#menubar a.Juza_conf').show();
     53
     54  $('a.Juza_conf').click(function(){
     55                $('#menubar').toggleClass('displayed');
     56                $('#JuzaBox').fadeIn('fast');
     57                if($('body').height() > $('body').offset().height){
     58                                var sH = $('body').height();
     59                        }else{
     60                                var sH = $('body').offset().height;
     61                }
     62                $('#JuzaShade').css( {height:sH+'px'}).css('z-index',9998).fadeIn('fast');
     63
     64                $('#JuzaCloseBox').click(function(){
     65                        $('#JuzaBox').fadeOut('fast');
     66                        $('#JuzaShade').fadeOut('fast').css('z-index',-9998);
     67                });
     68        });
    4769});
Note: See TracChangeset for help on using the changeset viewer.