Changeset 12354 for extensions/stripped


Ignore:
Timestamp:
Oct 5, 2011, 10:34:04 PM (13 years ago)
Author:
Zaphod
Message:

version 1.5.3

Location:
extensions/stripped
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/js/scripts-tpp.js

    r12321 r12354  
    355355  {
    356356    p = new Object();
    357     p.left = ((jQuery(window).width()-jQuery("#theImgHighContainer").attr("clientWidth")-options.paddingContainer*2)/2)+"px";
    358     p.top = ((jQuery(window).height()-jQuery("#theImgHighContainer").attr("clientHeight")-options.paddingContainer*2)/2)+"px";
     357    p.left = ((jQuery(window).width()-jQuery("#theImgHighContainer").prop("clientWidth")-options.paddingContainer*2)/2)+"px";
     358    p.top = ((jQuery(window).height()-jQuery("#theImgHighContainer").prop("clientHeight")-options.paddingContainer*2)/2)+"px";
    359359
    360360
     
    508508            mouseY=Math.max(Math.min(event.clientY-this.offsetTop, this.clientHeight - deadArea), deadArea);
    509509            jQuery("#theImgHigh")
    510               .css("left",Math.round((jQuery("#theImgHigh").attr("scrollWidth")-this.clientWidth) * -(mouseX-deadArea)/(this.clientWidth-2*deadArea))+"px")
    511               .css("top",Math.round((jQuery("#theImgHigh").attr("scrollHeight")-this.clientHeight) * -(mouseY-deadArea)/(this.clientHeight-2*deadArea))+"px");
     510              .css("left",Math.round((jQuery("#theImgHigh").prop("scrollWidth")-this.clientWidth) * -(mouseX-deadArea)/(this.clientWidth-2*deadArea))+"px")
     511              .css("top",Math.round((jQuery("#theImgHigh").prop("scrollHeight")-this.clientHeight) * -(mouseY-deadArea)/(this.clientHeight-2*deadArea))+"px");
    512512          }
    513513        );
  • extensions/stripped/readme.txt

    r12349 r12354  
    2727Changelog
    2828---------
     29
     30*** version 1.5.3
     31
     32- now really compatible with Piwigo 2.3
     33(jQuery 1.6 issue)
     34
     35*** version 1.5.2
     36
     37- fully compatible with Piwigo 2.3
    2938
    3039*** version 1.5.1
Note: See TracChangeset for help on using the changeset viewer.