Changeset 18724 for extensions
- Timestamp:
- Oct 23, 2012, 12:50:32 PM (12 years ago)
- Location:
- extensions/Autosize
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/include/affiche.php
r18716 r18724 9 9 $cookies="' x '"; 10 10 global $imgSizeWH ; 11 if(isset($_COOKIE['windowHeight'])){ 11 12 $windowHeight=$_COOKIE['windowHeight']; 12 13 $windowWidth=$_COOKIE['windowWidth']; 14 }else{ 15 $windowHeight=600; 16 $windowWidth=800; 17 } 13 18 global $size ; 14 19 -
extensions/Autosize/js/Affiche_script.js
r18723 r18724 1017 1017 // 200=window.myPamoorama.imageWidth 1018 1018 // frame = Zone_image.container.width 1019 nw = (200 * Zone_image. container.width) / window.myPamoorama.imageWidth;1019 nw = (200 * Zone_image.image.width) / window.myPamoorama.imageWidth; 1020 1020 jQuery("#pamoorama_frame").width(nw); 1021 1021 }); -
extensions/Autosize/js/autosize_ajax.js
r18723 r18724 20 20 jQuery("#theMainImage").trigger("ON", [{ nb: derivatives.total - derivatives.done, total: derivatives.total, done: derivatives.done,status:"ok",src:data.url}]); 21 21 } else { 22 jQuery("#theMainImage").trigger("ON", [{ nb: derivatives.total - derivatives.done, total: derivatives.total, done: derivatives.done, status: "Nok" , src: data.url}]);22 jQuery("#theMainImage").trigger("ON", [{ nb: derivatives.total - derivatives.done, total: derivatives.total, done: derivatives.done, status: "Nok"}]); 23 23 } 24 24
Note: See TracChangeset
for help on using the changeset viewer.