Changeset 4909
- Timestamp:
- 03/14/08 17:05:25 (9 months ago)
- Files:
-
- 1 modified
-
trunk/ui/ui.accordion.js (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/ui.accordion.js
r4875 r4909 71 71 maxPadding = Math.max(maxPadding, $(this).innerHeight() - $(this).height()); 72 72 }).height(maxHeight - maxPadding); 73 } else if ( options.auto height ) {73 } else if ( options.autoHeight ) { 74 74 var maxHeight = 0; 75 75 options.headers.next().each(function() { … … 104 104 destroy: function() { 105 105 this.options.headers.next().css("display", ""); 106 if ( this.options.fillSpace || this.options.auto height ) {106 if ( this.options.fillSpace || this.options.autoHeight ) { 107 107 this.options.headers.next().css("height", ""); 108 108 } … … 153 153 complete: complete, 154 154 down: down, 155 auto height: options.autoheight155 autoHeight: options.autoHeight 156 156 }); 157 157 } else { … … 161 161 complete: complete, 162 162 down: down, 163 auto height: options.autoheight163 autoHeight: options.autoHeight 164 164 }); 165 165 } … … 256 256 event: "click", 257 257 header: "a", 258 auto height: true,258 autoHeight: true, 259 259 running: 0, 260 260 navigationFilter: function() { … … 287 287 easing: options.easing, 288 288 complete: function() { 289 if ( !options.auto height ) {289 if ( !options.autoHeight ) { 290 290 options.toShow.css("height", "auto"); 291 291 }
