JQuery ui accordion with panel that contains scrolling content and a fixed header?

I'm not quite sure what you want exactly, but try adding this CSS. Adjust the height to fit inside the area you want it panel-hmmm { overflow: scroll; height: 300px; } Replace panel-hmmm with ui-accordion-content to effect all of the accordion panels Update: Given that you want the datepicker always visible when the panel is open, I'd switch the CSS to: scrollable-content { overflow: scroll; height: 300px; } The height of this scrollable content needs to be set otherwise it will maintain it's full height. In a demo I set up, the accordion panel would go off the page without any CSS, which is why I initially set the panel-hmmm to a vertain height.

I'm not quite sure what you want exactly, but try adding this CSS. Adjust the height to fit inside the area you want it. .

Panel-hmmm { overflow: scroll; height: 300px; } Replace . Panel-hmmm with . Ui-accordion-content to effect all of the accordion panels.

Update: Given that you want the datepicker always visible when the panel is open, I'd switch the CSS to: . Scrollable-content { overflow: scroll; height: 300px; } The height of this scrollable content needs to be set otherwise it will maintain it's full height. In a demo I set up, the accordion panel would go off the page without any CSS, which is why I initially set the .

Panel-hmmm to a vertain height.

I am after a datepicker which is always visible and a scrolling panel underneath it all within a panel in the accordion. Panel-hmmm needs to be an unfixed height so it can fill the space the accordion is contained in. So when the window size changes so does the height of the accordion and therefore the panel.

Adding this css fixes the height of the div which contains both the datepicker and scrollable-content. I just want the scollable-content div to scroll – nabbed Jul 19 '10 at 11:11 I've updated my answer above. Hopefully this will be more along the lines of what you want.

:) – fudgey Jul 19 '10 at 12:58 ok, that is cool. All I need now I think is to make the scrollable-content height fill the space in the . Panel-hmmm dynamically.

The height of . Scrollable-content = height of . Panel-hmmm - height of .

Date-picker. I would love to apply that formula but the accordion does not have a resize event, right? Any ideas?

– nabbed Jul 20 '10 at 3:15.

Added: ui-accordion-header-icon class to generated icons. Added: Allow canceling the beforeActivate event. Added: Use ui-accordion-header-active class.

Added: Provide header and content details in create event. Fixed: Incorrect size when a panel is empty. Fixed: Accordion corner style applying order.

Fixed: Jumpy animation when opening a panel after closing all. Fixed: Dynamically changing accordion's event handler doesn't actually change the behavior. Fixed: Nested accordion styling.

Fixed: Broken animation in Chrome. Fixed: Nested accordion is oversized. Fixed: ui-accordion-content's overflow value does not change back to auto in IE 6.

Fixed: Animation bug in Opera 11.01 with jQuery 1.4.3+. Fixed: Animation a bit jumpy in some browsers. Fixed: Incorrect size when zoomed.

Fixed: Activating a panel during animation fails. Fixed: Folding with keyboard space mixes up headline style. Fixed: Collapsible accordion in IE8 not toggling aria-expanded and aria-selected tags.

Fixed: Accordion causes scrollbar to disappear. Accordion("activate, false) fires changestart event with incorrect values. Accordion('option', 'active') is incorrect when set by URL hash navigation.

Fixed: Invalid negative CSS values from Accordion. Fixed: Accordion font reduce in safari of iPhone. Added: Callback when search is complete.

Added: Support for contenteditable. Fixed: popup results not read by screen-readers. Fixed: Menu options are activated even if mouse is not moved.

Fixed: Cancel pending request when text changes below minLength. Fixed: Blur should not change the value of the input. Fixed: Autocomplete overwrites input erroneously when user hits ESC before timeout expires.

Fixed: Holding down arrow keys in Firefox does not traverse list. Fixed: Tab out of autocomplete with remote source can leave menu showing. Fixed: Double escape clear IE form.

Fixed: Change event not triggered in time. Fixed: Menu click when no mouseover causes error. Fixed: Combobox: Invalid value is set.

Fixed: Combobox: Incorrect button size. Fixed: Autocomplete very slow in IE for 500+ items. OriginalEvent undefined in overridden focus event.

Fixed: autoFocus randomly deletes typed characters. Fixed: Menu doesn't hide on blur if selecting text. Fixed: Incorrect scrolling of items when zoomed.

Fixed: Autocomplete does not display results on Android in Firefox unless you delete. Fixed: Single quote breaks autocomplete. Fixed: Remote autocomplete example can leave pending request tracking out of sync.

Fixed: Submit inputs don't automatically set label option. Fixed: When opening a dialog, button keeps focused state. Fixed: Chromium-Browser does not support html-entities in datePicker i18n-translation.

Fixed: Datepicker does not properly scope the body selector. Fixed: Translation displays HTML entities when setting some formats. Fixed: Update Catalan Localization.

Fixed: CSS collision causing display:block on initial hidden state. Removed: Deprecated dialog option beforeclose. Added: An extra class on the dialog wrapper to specify when a buttonset is showing.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions