Changeset 4210
- Timestamp:
- 12/17/07 19:05:39 (1 year ago)
- Files:
-
- 1 modified
-
trunk/plugins/accordion/jquery.accordion.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/accordion/jquery.accordion.js
r4197 r4210 39 39 } 40 40 var hideHeight = settings.toHide.height(), 41 //showHeight = settings.toShow.height(), 42 showHeight = 5, 41 showHeight = settings.toShow.height(), 43 42 difference = showHeight / hideHeight; 44 alert(hideHeight + " " + showHeight)45 43 settings.toShow.css({ height: 0, overflow: 'hidden' }).show(); 46 44 settings.toHide.filter(":hidden").each(settings.complete).end().filter(":visible").animate({height:"hide"},{ 47 45 step: function(now){ 48 alert("hide: " + now);49 46 settings.toShow.height((hideHeight - (now)) * difference ); 50 alert("show: " + (hideHeight - (now)) * difference );51 47 }, 52 48 duration: settings.duration,
