Changeset 23168 for extensions/automatic_size
- Timestamp:
- Jun 13, 2013, 1:08:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/automatic_size/picture_js.tpl
r23074 r23168 5 5 var width = jQuery("#theImage").width() 6 6 width -= {/literal}{$asize_width_margin}{literal}; 7 8 if (jQuery("#theMainImage").size() > 0) { 9 var imageMarginWidth = jQuery("#theMainImage").outerWidth(true)-jQuery("#theMainImage").width(); 10 width -= imageMarginWidth; 11 } 7 12 8 13 var docHeight = "innerHeight" in window ? window.innerHeight : document.documentElement.offsetHeight;
Note: See TracChangeset
for help on using the changeset viewer.