I'm having a problem with the jQuery slide down, when I'm sliding down the contents of the object were turned on is.
What happens is that it slides down the dissection from the height of the content, and then 'snaps' at the appropriate height.
I think that (only one theory) is going to slip down the bottom of the direction, if this material was not going inside. For example, if I have 4 played items, Div means that unless I have 2 forest items, then there are two expansions.
Any amount float with clean graphics hacks do not look right.
The solution used in the last (and which is recommended) is to determine the height of the object through CSS before it is hidden. In this way, the slidedown knows how far to go.
The catch is that I have a nesting panel that is using the slide below, I can not set the parent's height before hand because it is already nested hidden when it is already expanded Will be calculated on the basis of panels.
I can restart the function that sets all of my toggle panel ... Find nested people, set the height, which I want to hide by default, and then the hierarchy Enlarge me towards taking it up but it will be an exhibit that is so full.
Anyone know how to fix this slide, Without fixed height via CSS without crossing structure Tanaii content?
UPDATE:
The sample code is here:
(Click on the page to see it sliding)
In the specific combination that I am using and the exact style that I'm using, you will see the problem. Note that DIV is set to Slide is a pink background. It will move forward in comparison to its contents and then quickly return to the proper place.
I can not recreate the problem. Please provide some code it works as expected :
HTML
& lt ;! DOCTYPE HTML Public "- // W3C // DTD XHTML 1.0 Stronger // N" http: // www .w3.org / TR / xhtml1 / dTD / xhtml1-strict.dtd "> gt; meta http-equiv = "content-type" content = "lesson" / Html; Charset = UTF-8 "/> Test & lt; / title & gt; link rel =" stylesheet "href =" style.css "type =" text / css "media = "Screen" />
Comments
Post a Comment