Miiller
Miiller

Reputation: 1063

jQuery slide to limit

I got a div-block in a table that slides Up/Down. Now this block has by default the style "display: none;" and if it slides down it extends the table column if the width of the block is higher than the one of the column. I do not want that to happen, so i want to slideUp up to 1px at max so it stays extended.

Are there any simple solutions for that?

Upvotes: 1

Views: 333

Answers (1)

Sebastien
Sebastien

Reputation: 6660

Can you maybe add a position absolute to your block and the parent container should has a overflow:hidden property.

It's maybe not what you are looking for, but i think it can be a solution.

Upvotes: 2

Related Questions