Ignore:
Timestamp:
Oct 22, 2010, 10:03:09 AM (13 years ago)
Author:
grum
Message:

fix bug:1948

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-default/js/gallyjs-tpp.js

    r6956 r7337  
    44  ------------------------------------------------------------------------------
    55  file: gally/gallyjs-tpp.js
    6   file release: 1.2.0
     6  file release: 1.3.4
    77  ------------------------------------------------------------------------------
    88  author: grum at grum.dnsalias.com
     
    157157  $(window).resize( function () { initializeImageMode("resize"); } );
    158158
    159   $(document).data("initialized", 1);
     159  $(document).data("initialized", 1).trigger('gallyInterfaceReady');
    160160}
    161161
     
    214214        deadArea = $("#navThumbPrev").attr("clientWidth")*1.2;
    215215        mouse=Math.max(Math.min(event.clientX-this.offsetLeft, this.clientWidth - deadArea), deadArea);
    216         $("#theImg").css("left",Math.round(($("#theImg").attr("scrollWidth")-this.clientWidth) * -(mouse-deadArea)/(this.clientWidth-2*deadArea))+"px");
     216        $("#theImg")
     217          .css("left",Math.round(($("#theImg").attr("scrollWidth")-this.clientWidth) * -(mouse-deadArea)/(this.clientWidth-2*deadArea))+"px")
     218          .trigger('scrolled');
    217219      }
    218220    );
Note: See TracChangeset for help on using the changeset viewer.