Changeset 6954
- Timestamp:
- Sep 17, 2010, 11:13:36 AM (14 years ago)
- Location:
- extensions/Autosize
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r6953 r6954 82 82 P0 = Pars.get(i); 83 83 h_p += parseInt(jQuery(P0).height()); 84 if (P0.currentStyle.marginTop) 85 if (P0.currentStyle.marginTop != "auto") h_p += parseInt(P0.currentStyle.marginTop); 86 if (P0.currentStyle.marginBottom) 87 if (P0.currentStyle.marginBottom != "auto") 88 h_p += parseInt(P0.currentStyle.marginBottom); 89 if (P0.currentStyle.PaddingTop) h_p += parseInt(P0.currentStyle.PaddingTop); 90 if (parseInt(P0.currentStyle.PaddingBottom)) h_p += parseInt(P0.currentStyle.PaddingBottom); 84 if (jQuery(P0).css("marginTop")) 85 if (jQuery(P0).css("marginTop") != "auto") h_p += parseInt(jQuery(P0).css("marginTop")); 86 if (jQuery(P0).css("marginBottom")) 87 if (jQuery(P0).css("marginBottom") != "auto") h_p += parseInt(jQuery(P0).css("marginBottom")); 88 if (jQuery(P0).css("paddingTop")) h_p += parseInt(jQuery(P0).css("paddingTop")); 89 if (parseInt(jQuery(P0).css("paddingBottom"))) h_p += parseInt(jQuery(P0).css("paddingBottom")); 91 90 92 91 } -
extensions/Autosize/main.inc.php
r6953 r6954 2 2 /* 3 3 Plugin Name: AutoSize 4 Version: 1.0. 54 Version: 1.0.6 5 5 Description: Ajuste l'affichage des photos en fonction de la hauteur de la fenetre de navigation 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=448
Note: See TracChangeset
for help on using the changeset viewer.