Changeset 12354 for extensions/stripped
- Timestamp:
- Oct 5, 2011, 10:34:04 PM (13 years ago)
- Location:
- extensions/stripped
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/js/scripts-tpp.js
r12321 r12354 355 355 { 356 356 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"; 359 359 360 360 … … 508 508 mouseY=Math.max(Math.min(event.clientY-this.offsetTop, this.clientHeight - deadArea), deadArea); 509 509 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"); 512 512 } 513 513 ); -
extensions/stripped/readme.txt
r12349 r12354 27 27 Changelog 28 28 --------- 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 29 38 30 39 *** version 1.5.1
Note: See TracChangeset
for help on using the changeset viewer.